The major sharp keys accumulate one sharp at a time, following the circle of fifths. Here they are in order:
Father Charles Goes Down And Ends Battle – the order of sharps (F, C, G, D, A, E, B). Each new key adds the next sharp in this sequence.
The flat keys (F, B♭, E♭, A♭, D♭, G♭, C♭) follow the reverse order.