Do the vitamins first! After you go pass 100 ev's vitamins will no longer work! For example, If you have 90 evs you can still use a vitamin, but if you go over 100 you no longer can use them! Also on a side note, if you have 98 evs it will only give you 2 evs. Hope this helped!
Source