Default sort puts lowercase letters at end

Bug #699863 reported by Greg Grossmeier on 2011-01-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeya
Low
Phil Sung

Bug Description

See screenshot.

artist "anomie" comes at the end of my list (yeah, nevermind that it should actually be Anomie).

By design? just the default sort of python? bug?

It does cause an artist's music to be split up between two sections of the list if the ID3 tag is lowercase for part of it. Maybe the artist list should be canonicalized and sorted that way(?).

I'm not sure what the standard best practice is with respect to sorting alphabetically, just thought I would note this here.

Phil Sung (psung) wrote :

Greg, what does your directory structure look like? Are the songs corresponding to the same artist all in the same directory? If I recall correctly, the directory backend sorts based on the directory name...

Changed in zeya:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Phil Sung (psung)

[note, I am working from a smaller subset of my collection in this example, hence the change in example]

In my directory structure it is sorted like:
Artist/YYYY - Album Title/NN - Track Name.ext

Most are "properly" capitalized. In this subset there is only one that is not, "dead prez" (which has two albums under it). In Zeya, those albums show up at the end of the list. The ID3 tags for those tracks also say "dead prez."

In an experiment, I changed the ID3 tags to "Dead Prez" but the sort was still the same (after restrating Zeya). After I changed the folder name to "Dead Prez" the sort is now correct.

This may be a bug in how python sorts, but I would expect it to be sorted like this:
A
a
B
b
C
c
etc

instead of:
A
B
C
a
b
c

Thoughts?

Phil Sung (psung) wrote :

Sorry for the delay in responding. I believe Zeya uses the filename only to determine the sort order (the ID3 tags are used for display but not for sorting). Can you confirm that commit 1ae7a37 fixes this problem?

Changed in zeya:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments