Flats are added in the order sisi♭ mimi♭ lala♭ rere♭ solsol♭ dodo♭ fafa♭, the reverse of the order of sharps.