806 - Sorting by Bit rate wrong

Bugs and other issues or requests which have been resolved.
Post Reply
Message
Author
User avatar
Dreamer
Site Admin
Posts: 3751
Joined: 19.08.2007, 21:40

806 - Sorting by Bit rate wrong

#1 Post by Dreamer » 01.12.2019, 15:28

To reproduce:

- in details view add just 2 columns, Name and Bit rate
- go to folder with mp3 files with different bit rate, one song need to have bit rate 96kbps, or between 40 - 99
- click the column header for Bit rate, to sort by bit rate
- in Settings > View > File/folder list > Sorting > use "Alphabetical - string sort" (or "word sort")
= sorting is wrong, with bit rate between 40 - 99 kbps only (and probably with any bit rate below 100)

fcbitrate96Screenshot_12012019_161646.png
fcbitrate96Screenshot_12012019_161646.png (14.09 KiB) Viewed 3467 times

FC 806 donor, Windows 10 1909.

Marek
Author
Author
Posts: 2685
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: 806 - Sorting by Bit rate wrong

#2 Post by Marek » 01.12.2019, 20:29

For "Alphabetical - string sort" (or "word sort") it is correctly if you have set the data type of the "Bit rate" column as text (default).
The current bug is when you change the data type of the column to number - the column is sorted anyhow alphabetical.
Fixed for the next release.

User avatar
Dreamer
Site Admin
Posts: 3751
Joined: 19.08.2007, 21:40

Re: 806 - Sorting by Bit rate wrong

#3 Post by Dreamer » 03.12.2019, 21:50

Not fixed in 807. I had Data type set to "text" before too, now I tried to set to "number", then back to "text", but sorting is wrong each time.

EDIT: OK, so with "number" option the sorting is like random:

96
320
128
320
320
96
320

So it's sorted by Name, even if "Bit rate" is used.

Marek
Author
Author
Posts: 2685
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: 806 - Sorting by Bit rate wrong

#4 Post by Marek » 03.12.2019, 22:05

If the data type of the column "Bit rate" is set to text and you use the option "Alphabetical - string sort" for sorting, then the sorting on your picture is correctly and was not changed.
If you want to sort the column by bit rate value (by "Alphabetical - string sort") - you need to change the data type to number.

Works fine here. In my "Bit rate" column I have values as:
48 kBit/s
64 kBit/s

User avatar
Dreamer
Site Admin
Posts: 3751
Joined: 19.08.2007, 21:40

Re: 806 - Sorting by Bit rate wrong

#5 Post by Dreamer » 03.12.2019, 22:49

Hm.. OK, but it doesn't work good even with the option "Number", with default settings, I clicked Apply, switched to list and back to details view, I tried also FC restart, still the same.
Attachments
fcbitratesortbugScreenshot_12032019_234219.png

User avatar
Dreamer
Site Admin
Posts: 3751
Joined: 19.08.2007, 21:40

Re: 806 - Sorting by Bit rate wrong

#6 Post by Dreamer » 13.12.2019, 23:49

Fixed in 808, thanks, Marek.

It works only with "number" option for bit rate, so it must be manually changed.

Closed.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests