dictionary is sorted