Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2010, 11:07 AM   #16
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
If the subfolders were in the format "Lastname, Firstname", one could simply sort them by one click in any file manager. One can, however, click inside of a subfolder (where all the books of the same author are placed) and get a sorting according to title (as the filename is in the format "title - firstname lastname" (here the order of the name components does not disturb, as they are at the end of the string).
You don't care how Calibre keeps it's filings, because you are not supposed to be peeking under the skirts.

The semi-legitimate way to peek, is to select a title and press "O" to open the containing folder. Where ever it mat be, whatever it may be named.

Maybe I have grown used to a simple ASCII sort, where , Z sorts before a .

Since I don't write the code, my input has as much weight as a speck of dust in the desert
theducks is offline   Reply With Quote
Old 10-03-2010, 03:17 PM   #17
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
Quote:
Originally Posted by theducks View Post
my input has as much weight as a speck of dust in the desert
Ah!, But, - a single raindrop raises the ocean.
Perkin is offline   Reply With Quote
Advert
Old 12-03-2010, 06:19 AM   #18
Coleccionista
Connoisseur
Coleccionista began at the beginning.
 
Posts: 67
Karma: 40
Join Date: Aug 2010
Device: iPad, Kindle Paperwhite
Refloat incoming

I didn't noticed before that accented chars are sorted last which makes the alphabetical order a bit confusing.
So Amos Oz is listed before Kenzaburo Oé, I don't know if the sorting is looking only at the ASCII code of the letter but I'd say that for most languages the following should be true while sorting:

Code:
 
a = á = à
e = é = è
i = í = ì
o = ò = ó
u = ú =ù
In this day of Unicode and with calibre localized to different languages I am quite surprised since I imagine Python would have support libraries for all kinds of international / unicode sorting
Coleccionista is offline   Reply With Quote
Old 12-03-2010, 06:24 AM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Coleccionista View Post
I didn't noticed before that accented chars are sorted last which makes the alphabetical order a bit confusing.
So Amos Oz is listed before Kenzaburo Oé, I don't know if the sorting is looking only at the ASCII code of the letter but I'd say that for most languages the following should be true while sorting:

Code:
 
a = á = à
e = é = è
i = í = ì
o = ò = ó
u = ú =ù
In this day of Unicode and with calibre localized to different languages I am quite surprised since I imagine Python would have support libraries for all kinds of international / unicode sorting
This is a surprisingly hard problem. See https://www.mobileread.com/forums/sho...d.php?t=101104 for some discussion and a poll.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Author sort knyc Calibre 3 09-25-2010 05:04 AM
Author Sort thomasmorus Calibre 39 08-27-2010 04:55 PM
Author Sort wexdan Calibre 2 10-22-2009 03:21 PM
Author Sort polly Calibre 6 10-04-2009 08:22 AM
Author(s) & Author Sort BobF Calibre 11 01-02-2009 05:01 PM


All times are GMT -4. The time now is 10:29 AM.


MobileRead.com is a privately owned, operated and funded community.