Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2011, 12:47 AM   #1
dancingbacon
Member
dancingbacon began at the beginning.
 
dancingbacon's Avatar
 
Posts: 12
Karma: 10
Join Date: Jun 2011
Location: Canada
Device: Kindle 3 Wi-Fi
Sorting "Formats" colum

Hey,

By default it seems that when sorting by the Formats column with multiple formats for each book, EPUB takes priority over MOBI and sorts by EPUB first. I want them all to sort with MOBI taking priority and being the first. Is there a way to do this?

Thanks.
dancingbacon is offline   Reply With Quote
Old 08-01-2011, 12:57 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,502
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Looks like it does them in alphabetical order....
PeterT is offline   Reply With Quote
Advert
Old 08-01-2011, 01:17 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by dancingbacon View Post
By default it seems that when sorting by the Formats column with multiple formats for each book, EPUB takes priority over MOBI and sorts by EPUB first. I want them all to sort with MOBI taking priority and being the first. Is there a way to do this?
If you have more mobi than other formats then change the sort order (bottom of the tag browser) from Sort by Name to Sort by popularity.
DoctorOhh is offline   Reply With Quote
Old 08-01-2011, 04:48 AM   #4
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: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The formats field is always sorted in alphabetical order.

If you want to distinguish MOBI from others, then in the current calibre you can create another custom column that has a value if there is a MOBI format, otherwise it doesn't. You could then sort on this column. The template would be something like
Code:
{formats:'in_list($, ',', 'MOBI', 'MOBI', '')'}
Another way is to search for format:=mobi and then sort however you wish.

In the next calibre release, you will be able to reorder the formats list to put MOBI in front. One template to do that is
Code:
{formats:'in_list($, ',', 'MOBI', merge_lists('MOBI', $, ','), $)'}
This doesn't work in the current release because the list is re-sorted after the merge.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Delver Magic" Trilogy - Jeff Inlo's series FREE in 8 different formats Dr. Drib Deals and Resources (No Self-Promotion or Affiliate Links) 99 06-25-2011 09:23 AM
Kindle "Sort by Author" is Sorting by First Name SHydroxide Calibre 2 01-13-2011 09:47 AM
The 2010 "Which formats are good to sell" poll Steven Lyle Jordan Lounge 24 03-21-2010 12:12 AM
"Sort By Author" not sorting correctly within author's collection Sonist Amazon Kindle 1 08-05-2009 07:52 PM


All times are GMT -4. The time now is 07:25 PM.


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