Adding dictionary sort