added some notes on sorting dictionaries