I’m not sure this will help, since I’m not sure I completely understand the issue, but here’s how I solve the issue with time.
I wonder if you could do the months, Jan-Dec with ID’s 1-12 and solve it?
I wanted to take a minute and share how I solved this problem since the community has been so helpful. I’ve spent probably 250 hours on my app, many of those on this problem So, although I’m not an expert, I have read an intense amount of stuff about it
First, my use case.
I have a schedule that is the same every Monday through Friday. In other words, every Monday is the same every Tuesday is the same Etc. My users will create the core schedule once, but update different activities on those days with different details. Because they need to update, but a static list ordered by item ID was an unusable solution.
Many of the other hindrances to a use case calling for a time picker with no date have been listed and discussed here in many threads.
Now, how I solved it.
I created a collection called “times” and included every time that a user might need. I recorded that time in this format “1:00 pm” in the name column of the collection.
I entered the times in sequential order so that the unique ID numbers would correlate with the times from low to high. In other words 6 a.m. would have the lowest ID number end 5 p.m. would have the highest ID number.
I then created another collection for each day of the week. These collection are called “Monday activities”, “Tuesday activities”, “Wednesday activities”, Etc.
Within each daily activity collection I created a relationship to the “Time” collection.
I’ve seen it suggested that this is enough to solve the problem, but it did not solve the problem for me since I could not sort in a list by a related collection. I needed my list to order from earliest to latest and if I simply use the time list 5 p.m. would come before 10 a.m.
I also created a text field “time ID”.
I created a form “Monday Activity” to collect the data from the user, and included “Time” in the visible Fields. This is where my user chooses the time from the collection.
Then, in submit I had one action to create a new Monday activity.
A second action updates the new Monday activity.
Using magic text, I required it to update “Time ID” field with “Time ID”
Now, in the app, I created a list of Monday activities. I show the “Time Field, but sort A to Z on ”time ID”.
Not exactly elegant, but it does get the job done. I hope it helps someone!