I have a column in a list I created that is using lookup and the lookup is referencing another list. The referenced list has just a list of times(1:00 AM, 1:30 AM, 2:00 AM). The problem I’m having is that when I show the referenced list in my column it is sorting it so that is shows like: 1:00 AM, 1:00 PM, 1:30 AM, 1:30 PM. The referenced list is showing the times in the correct order but when it is being referenced it appears to be doing some automatic order on it. How do I get it to show in the correct order (1:00 AM, 1:30 AM, 2:00 AM)? Thanks.
Share
What is the data type of your source column? Is it a text field? A datetime field?
Your problem here is that the values are sorted as strings, not as numeric values.
A solution I see here is to create a calculated column in the source list that would returns type
textand formats the values in a way that sorts ‘normally’, even when sorted as strings. For instance, it could contain values like 01:00, 02:00… 23:30. Then you can make a lookup to that calculated column and your problem is gone.