Android: Choose sorting order

Created on 16 Oct 2016  路  31Comments  路  Source: nextcloud/android

Currently files can be sorted by

  • A -> Z
  • Biggest -> Smallest
  • Newest -> Oldest

This issue is about discussing if (and how) we can allow to change the sorting order.

Ideas:

  • Add 3 options with reversed order: Z -> A

    • ugly as hell -> NO

  • Second click on same order reverts sorting order

    • not understandable/visible for user

  • use fast scroll instead of reversing order

    • user can easily and fast scroll down

Option 3 is maybe independent and should be implemented anyway (#47)

@Spacefish

approved design enhancement pr exists

Most helpful comment

All 31 comments

This is how Amaze file manager is doing it:
device-2016-10-17-115631

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...

slice2

Tap on descending:

slice1

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:

  • Last Modified - Older first
  • Last Modified - Newer first
  • Name - A -> Z
  • Name - Z ->A

    • and so on...

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:
sort suggestion for nexcloud android app

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

575 has been merged to master

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JSoko picture JSoko  路  3Comments

AndyScherzinger picture AndyScherzinger  路  3Comments

tobiasKaminsky picture tobiasKaminsky  路  3Comments

Shagequi picture Shagequi  路  3Comments

ikke-t picture ikke-t  路  3Comments