|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2015
Device: Samsung Galaxy Tab 2 10.1, Cyanogenmod 11.X
|
[Android] number sorting
I have a word count column I've set cc to be able to sort one. Sorts like a.dream.
But I also sync comics as CBZ to my android. Is there a way to sort on actual file size? |
|
|
|
|
|
#2 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,526
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
One possible template is Code:
{:'select(formats_sizes(), 'CBZ')'}
|
|
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2015
Device: Samsung Galaxy Tab 2 10.1, Cyanogenmod 11.X
|
Okay... in caliber, that sorts proper. In CC, 123 sorts before 13-- it ignores number of digits. Any thoughts?
|
|
|
|
|
|
#4 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,526
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Lots of thoughts. Buy low, sell high. Don't live in a tornado zone. Travel widely. Avoid too much salt. Why does air exist? What is an entangled photon? ...
You are probably asking for a solution to the CC sorting "anomaly". You can deal with that by adding leading zeros so that the text-representation of the number sorts correctly. One such template is Code:
{:010d:'select(formats_sizes(), 'CBZ')'}
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sorting books based on the NUMBER of authors | RotAnal | Library Management | 4 | 02-21-2017 12:00 PM |
| book name is reduced to book number when downloading to android | polarwind | Calibre | 6 | 06-10-2016 05:09 PM |
| Aura HD Sorting Shelves by Number of books | speakingtohe | Kobo Reader | 13 | 06-13-2013 03:05 AM |
| Title Sorting / Author Sorting | ahi | Sony Reader | 0 | 09-14-2009 02:51 PM |