Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #25896: When folders in Nautilus are named by months, use correct month sorting Jan-Dec.

Written by MechaMechanism the 21 Sep 10 at 01:08. Related project: Nautilus. Status: New
Rationale
This is for Gnome's file manager Nautilus.

When you give a folder the name of a month, use correct sorting of months, Jan-Dec. As example, I create 3 folders, one folder I give the name May, a second folder I give the name February, a third folder I give the name July. The correct sorting and display of the folders in Nautilus would be February, May, July. Right now Nautilus uses alphabetical sorting of month names.

46
votes
up equal down
Solution #1: Add month name sorting to Nautilus folder sorting
Written by MechaMechanism the 21 Sep 10 at 01:08.
Allow Nautilus to sort and display folders named by month. As example, 3 folders named February, May, July, would be sorted by February, May, July. If users would like to be able to toggle sorting between month name and alphabetical name then we should include a toggle.

Currently Nautilus sorts folders using alphabetical and numerical. I would like to see the addition of sorting using month names.
98
votes
up equal down
Solution #2: not only by month
Written by Goury the 22 Sep 10 at 08:31.
but sort by some configable rules
17
votes
up equal down
Solution #3: Allow notes to be displayed as column
Written by oliver-joos the 28 Sep 10 at 13:20.
In Nautilus every file and folder may have notes. These notes should be displayable as column! Then a folder "January" could get a note beginning with "01", folder "February" one with "02", and so on. Sorting this column alphanumerically would do it.

This would solve this idea and other similar problems, it has no problems with I18N, it would make notes more useful, and it would not introduce new concepts. (Solutions #1 and #2 are more "intelligent", and an OS should never try be more intelligent than its users ;-)
2
votes
up equal down
Solution #4: Allow user to have a "sort name" separate from the literal name
Written by Aielyn the 19 Oct 10 at 07:18.
Basically, this would allow, for instance, the option of having the folder's *name* as "January", but when Nautilus sorts it, it sorts by the "sort name", which would be "01".

To make this work neatly, the system would default to the "sort name" being the same as the folder name, but a right-click would allow you to either select from some predicted options, or input your own. If it detects month names in either short or long form ("Jan" or "January"), it automatically gives "01" as an option.

Should two folders have the same sort name, they are sorted by their folder names, so if you have "January" and "My Birthday" both marked with "01" as the sort name, then "January" goes first because J comes before M.

An option would, of course, allow you to override this behaviour, and sort only by folder name, or sort by sort name and then by date created, or other such options.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
McIvor wrote on the 21 Sep 10 at 22:07
So I assume any folders that don't match a month name should be sorted alphabetically? Before or after the months? Month sorting would have to be localised, and should match abbreviations too (Feb, Mar, Dec, etc). Not a bad idea.

Darwin Survivor (Brainstorm moderator) wrote on the 22 Sep 10 at 00:02
I think this would be awesome cuppled with a number sorting system as well (so 11foo.txt is before 100foo.txt).

lvxferre wrote on the 22 Sep 10 at 00:38
The idea is nice, however I want to highlight a few points...

*Numbers in the name should be treated as year [4 digits] and day [2 digits] and sorted accordingly;
*Still default sorting alphabetically [easier];
*It should work not only with English, but other langs too.

MechaMechanism wrote on the 22 Sep 10 at 02:03
The commenter's have really good points. I agree that sorting by month needs to be localized in all languages. The comment by McIvor brings up an interesting point about mixed folders, I tested Nautilus and it uses alphabetical and numerical sorting simultaneously, so I would just add the month sorting in with the two that Nautilus already uses.

Nautilus sorts numbers before letters. So a folder named 3 comes before a letter or word. I propose that the sort order should be numerical, month, alphabetical. I Look forward to more discussion.

Akerbos wrote on the 22 Sep 10 at 09:51
I'd prefer a clean interface and suitable file names; you can always name your stuff such that it is sorted as you want.
For example:

2010.10.15 Birthday party
2010.11.03 Hospital

or

001.jpg
050.jpg
325.jpg

Discipline, guys!

MechaMechanism wrote on the 23 Sep 10 at 17:23
@Akerbos I understand what your saying and people can certainly do it the way you do it. But I think having my solution available is just another tool that can be useful to some people. Especially if it can be toggled. The main thing is that it automates the process somewhat. When tools can be toggled, I think they only add to the user experience.

TwistedLincoln wrote on the 23 Sep 10 at 21:07
This should be handled via metadata, not via handling how the filenames are sorted. Otherwise we'd have very inconsistent behavoir between the CLI and nautilus.

MechaMechanism wrote on the 24 Sep 10 at 03:32
@TwistedLincoln Can you explain how the metadata thing would work. I take it that the folder sorting would be abstracted out and the underlying directory structure would be conventional?

petero wrote on the 24 Sep 10 at 08:45
What happens if I have employees called April, May, June and want alphabetical sorting?

An option to switch month sorting on or off would be better.

MechaMechanism wrote on the 24 Sep 10 at 17:58
@petero I agree that sorting should be user controllable. Otherwise if users can't control sorting, it won't work.

dipish wrote on the 28 Sep 10 at 07:09
There may be plenty of naming formats. It would be cool to create custom-sorting rules using templates.

TwistedLincoln wrote on the 28 Sep 10 at 22:23
@MechaMechanism: Yes, the underlying directory structure would be unchanged. But if metadata could be attached, you could set nautilus to sort differently based on the metadata. Think of sorting songs in a media player based on vorbis-tags or id3 tags.

MechaMechanism wrote on the 29 Sep 10 at 19:36
@TwistedLincoln This metadata approach does sound quite nice. Be pretty powerful as it wouldn't be restricted to predetermined sort methods. The metadata option would also benefit from allowing users to create there own sorting rules. I prefer this metadata approach to the sorting issue.

replicator-snail wrote on the 7 Oct 10 at 00:39
Name your folders according to ISO 8601 YYYY[-MM[-DD]], and they will be sorted properly.

Changing sort order would cause following problems:
* "April", "May", "June", etc. are not necessarily months (@wouter215); similar problems in other languages (e.g. julio in Spanish)
* Inconsistent sort order between locales [admittedly, this is already an issue]
* Sorting will be unintuitive for folders containing both months and non-months.

MechaMechanism wrote on the 15 Oct 10 at 15:09
@replicator-snail

Quote "Inconsistent sort order between locales [admittedly, this is already an issue]" End Quote

This is why Nautilus should have user configurable rules, that plus metadata user controlled based sorting. Rather than trying to have one predefined rule for all locales, don't you think this idea might allow for different locales to improve sort order. What do you think.

P.S. If anybody knows how to get notified of replies to comments on Brainstorm, let me know.


Post your comment