finished dictionary sort