Sorting now accurately displays ascending text to user