no sharps/no flats
C major/A major
one flat
F major/D minor
two flats
B-flat major/G minor
three flats
E-flat major/C minor
four flats
A-flat major/F minor
five flats
D-flat major/B-flat minor
six flats
E-flat minor
one sharp
G major/E minor
two sharps
D major/B minor
three sharps
A major/F-sharp minor
four sharps
E major/C-sharp major
five sharps
B major/G-sharp major
six sharps
F-sharps major
Order of the Sharps
F, C, G, D, A, E
Order of the Flats
B, E, A, D, G, C