Currently files can be sorted by
This issue is about discussing if (and how) we can allow to change the sorting order.
Ideas:
Option 3 is maybe independent and should be implemented anyway (#47)
@Spacefish
This is how Amaze file manager is doing it:

If it's not too much to ask, can you please leave the sort & filter functionality for April? I have a few issues I want to go through first, but I have a quite clear picture of how both sort and filtering should work. Thanks!
Hi @mario, sure thing! :) Any reason for April (as in this exact month)?
@AndyScherzinger there are quite a few NC Android tasks I have to do before I can revert to sort&filter that are of higher importance at this particular moment, and I don't know how long it'll take me to do all of them - if I do them earlier, sort & filter will come sooner as well, but in that case I'll let you know!
Sounds good @mario! :) Beware though that any changes should be discussed first via a GH issue before implementation is started, just to make sure it will get improved and thus getting merged in the end and not declined ;)
@AndyScherzinger certainly. You'll get wireframes and all that stuff.
That sounds awesome! Happy to have you on board! 馃帀
Hi,
In Nextcloud Android app, Alphabetical sort order (A - Z) does not work:
http://dl.free.fr/mSJbHjaLG
@ldmpub which Version are you running, I just checked the latest master and it is working like a charm
@mario any objection for implementing the order ascending/descending issue before April?
@AndyScherzinger absolutely none - let me know how you want it to look UI-wise and I can make it happen if you want.
@mario I would have gone for the solution Amaze chose: https://github.com/nextcloud/android/issues/340#issuecomment-254164569
any comments/input @eppfel ?
If it not hurts too much, that it might be redone with filter in aprils, go for it! Like it.
@ldmpub Looks very weird. Best would be to open a new issue with more specifics.
Great, then let's go for it! This will add to the usability part :)
@mario preference wise it might already be available but the UI part to set Ascending / descending is missing
@ldmpub Looks very weird. Best would be to open a new issue with more specifics.
New issue opened, see #572.
@Andyscherzinger in the original post up top and the discussions we decided to not do the ascend/descend since it's quite confusing and Z->A or Oldest->Newest doesn't really make sense, does it?
@jancborchardt what if you have 1000 files and want to see the oldest file?
As we do not have a "fast scroll", with which you then could just scroll to bottom nearly immediately, we should support this.
It is only one more button in the sorting options ;-)
The longer the list, the more relevant this use case gets.
But now that I think about it, this adds a tap to the process. Is it possible to introduce ascending /descending as tabs, which changes the options. Therefore we add a tap only to switch and it would be easier to discover what does what.
@eppfel what do you mean by a ascending, descending tab? And where? Wireframe?
Very rough, but that should be understandable. Other options beside name should have small indications (Oldest -> Newest / Newest ->), too.
It was just an idea. I have no idea, if this is easy to implement...

Tap on descending:

Hi,
I personally find tabs and terms Ascending / Descending very hard to use (double tap) and to understand (is date x ascending compared to date y?).
From my / end-user point of view a simple list is more effective:
An other solution is to create this kind of UI (extract from ES File Explorer), same as above but more rich because each 'list' entry has its own icon:

Yeah, I would prefer icons as well. I think the idea was to introduce the capability with a small change. I could come up with a more detailed mock-up, but I don't if it is worth it at this point...
Uuuuuh, I like @ldmpub's solution with icons :)
This would mean a custom pop up but isn't to hard to implement and the currently active could just be tinted NC blue when opened and a simply click on the icon would close the pop up and set the new order. I think that would still be doable in an okay amount of time and with the tinting would support theming out of the box whenever we start with that feature :)
I can start to put up a prototype some time later today based on the icon idea :)
I would still change the axis of @ldmpub's screenshot...
Description left, two icons on the right. Doable?
@eppfel absolutely :+1:
For any further discussion, please see/go-to the corresponding PR #575

Most helpful comment