ios-legacy icon indicating copy to clipboard operation
ios-legacy copied to clipboard

Sorting: Put numbers on top.

Open ponychicken opened this issue 9 years ago • 10 comments

Both in the Mac Finder as well in Windows Explorer, files are by default sorted in a way putting numerals on top. The fact that the ownCloud iOS app doesn't stick to this convention makes it difficult to create custom sort orders for folders by prefixing them with 01, 02 etc.

Here are some screenshots of Explorer and Finder:

explorer on win 7 mac finder

ponychicken avatar Jan 20 '16 12:01 ponychicken

@ponychicken thanks for your suggestion. Currently we have alphabetical index when there are more than 20 files and numbers and special characters are sorted in the last position (#), we could change it to be the first one

nasli avatar Feb 11 '16 09:02 nasli

Yes, I think that would be in line with what users are used to. If you point my to where the logic sits I can submit a PR.

Am 11. Februar 2016 bei 10:15:30, Noelia Alvarez ([email protected]) schrieb:

@ponychicken thanks for your suggestion. Currently we have alphabetical index when there are more than 20 files and numbers and special characters are sorted in the last position (#), we could change it to be the first one

— Reply to this email directly or view it on GitHub.

ponychicken avatar Feb 11 '16 09:02 ponychicken

Hello @ponychicken On iOS the numbers are on the bottom. You can check it for example on the "Contacts".

iphone-contacts-app-ios-7

In my opinion it is not a good a idea change the natural behaviour to a different one.

javiergonzper avatar Feb 11 '16 09:02 javiergonzper

Thanks for your suggestion, ftm, we plan to implement in the short term: #391 offer to sort data not only alphabetically but also by modification time as it's already implemented on Android app.

Let's keep this feature request in the backlog

rperezb avatar Feb 11 '16 11:02 rperezb

@javiergonzper The example you choose is not a good one as apple employs a different sorting algorithm for persons names, as they are unlikely to have numbers in them. If you look at a file sorting, for example in the iCloud drive, files are sorted as i reported, numbers first. Attached a screen. image

ponychicken avatar Feb 14 '16 10:02 ponychicken

@ponychicken but your example it is not a list. It is a grid. Also the folders are at the beginning. If we set the files and folders in the order that you want we lose completely the right bar with the direct access to initial letter of the files.

javiergonzper avatar Feb 15 '16 07:02 javiergonzper

Sorry if that was confusing, i'm not proposing to change the. iew, or the right bar, only the. sorting algorithm employed.

On 15 Feb 2016, at 08:37, Javier Gonzalez [email protected] wrote:

@ponychicken but your example it is not a list. It is a grid. Also the folders are at the beginning. If we set the files and folders in the order that you want we lose completely the right bar with the direct access to initial letter of the files.

— Reply to this email directly or view it on GitHub.

ponychicken avatar Feb 15 '16 09:02 ponychicken

The point is that if we change the algorithm to sort the files and folders we also have to modify the right bar because it will not have sense and will not work as we developed it if we put the numbers on the beginning. The natural (and native) behaviour of a list of things on iOS is putting the numbers and the special characters at the end as you can see on the "Contacts".

You have to take into account that this is iOS not a Windows or MacOS file system.

javiergonzper avatar Feb 15 '16 09:02 javiergonzper

iOS has inconsistent file sorting behavior: "App store" results show numbers first, "Videos" show numbers last,.. So there is no "iOS" way to do it, really!

le-fractal avatar Jun 16 '16 21:06 le-fractal

@zinks- I think it is simply the realisation that different types of data have different properties. App names often contain numbers, person names not so often etc.

ponychicken avatar Jun 17 '16 09:06 ponychicken