The way I like to remember the order of the modes is with this funny phrase… “I Don’t Particularly Like Modes A Lot” (First letter of each word corresponds to that of each mode)!
Ionian, Dorian, Phrygian, Lydian, Mixolydian, Aeolian and Locrian