List of all keys: Fix empty entries
List of all keys: Fix sorting