Posts: 13,573
Threads: 302
Joined: Apr 2012
Reputation:
244
If you tap "Sort" at the top and change it to "Sort: Numerically", does that get you the sort order you are looking for?
Mike
Posts: 18
Threads: 2
Joined: Dec 2023
Reputation:
0
Can someone please tell me how to get my library of setlists sorted by year, then month, then day(s)? This is how I successfully label and sort my files in Windows 10, but in MobileSheets (iPad) the decimals mix up everything:
Current sorting (numerically descending):
year.month.day(s)
2024.12.14-15
2024.6.20-21
2024.11.9-10
2024.1.9-12
2024.12.4-7
202412.20
2023.12.24
2023.12.17
2023.12.16
2024.6.29
2024.6.27
2024.6.24
2024.6.22
2024.6.15
2024.6.13
2024.4.21
2024.4.13
2024.3.23
2024.3.14
2024.2.19
2024.2.10
2024.5.6
2024.2.9
iPad Pro 12.9" 4th gen, iPadOS18. Samsung cell phone (Note10Lite), Android13.
Posts: 13,573
Threads: 302
Joined: Apr 2012
Reputation:
244
Can you use slashes or dashes instead of periods for the dates? Or even a space. I think that would probably resolve the sorting issue. Otherwise alphabetic sorting may actually work better than numeric if you make sure to always use the same number of characters, i.e. 2024.01.09 instead of just 2024.1.9. I can try to look into why that's breaking the numeric sorting algorithm though, but I would have thought the same problem would exist on Windows as it uses the same underlying code (just written in a different programming language).
Mike
Posts: 13,573
Threads: 302
Joined: Apr 2012
Reputation:
244
12-22-2024, 06:17 AM
(This post was last modified: 12-22-2024, 06:17 AM by Zubersoft.)
The issue is due to the fact that MobileSheets strips punctuation while sorting, so the numbers become much larger numbers, i.e. 20231217 compared to 20241220, so it's sorting based on those numbers. If you placed a space between them, that would work without issue. Or if you make sure to always use two digits for the day and month as I suggested above (2024.01.09) that would also ensure that the numbers are always processed correctly. The other benefit of doing that is that the width of the dates will always be consistent, potentially making it more visually pleasing.
Mike