map sorting

Hello all.I wish you happy new year.
I have a simple question.I want to store some variables to a map<unsigned,boolean> and to have them in an ascending way.To be more exact,I want the number on ((*iterator).begin()).first to be the smaller number and the ((*iterator).end()).first to be the bigger.I think that the map sorts automatically it's contents but I dont know the way it does.

Thanks in advance for any help.
Just to ensure,alphabetical order is ascending order.The type of order I want.Is that right?
Alphabetical is ascending yes.
Ok,thank you very much for the precious help.
Topic archived. No new replies allowed.