Working dictionairy sort