container exercise 21, how to sort map?