Sorting the keys
Improvement to auto complete