Sorts unordered entries now