Quote:
Originally Posted by pjmpjm
"Provide a set of columns to be sorted on when Calibre starts. The argument is None if saved sort history is to be used. Otherwise it is a list of column,order pairs. Column is the lookup/search name, found using the tooltip for the column. Order is 0 for ascending, 1 for descending
For example, set it to [('authors',0),('title',0)] to sort by title within authors."
Once again, your assistance much appreciated, Harry. Yes, have been using Calibre since 2013 and have read the manual a number of times, but really needed a clear example of sorting by date and not by author or title. What I quoted above just doesn't give me what I needed and led me to enormous experimentation, in vain. So I had finally resorting to the default again. Sometimes my efforts worked and sometimes they didn't. My experience in these things (including non-computer matters) is that simple examples work best . . .
My apologies once again for the silly and easy question. This is exactly why I've hesitated so long in asking it. But you seem to have solved my problem and I'm happy now.
|
Harry gave you that back 2 posts
Code:
#: Specify columns to sort the booklist by on startup
# Provide a set of columns to be sorted on when calibre starts
# The argument is None if saved sort history is to be used
# otherwise it is a list of column,order pairs. Column is the
# lookup/search name, found using the tooltip for the column
# Order is 0 for ascending, 1 for descending
# For example, set it to [('authors',0),('title',0)] to sort by
# title within authors.
sort_columns_at_startup = None
You change the old None to the value on the right of the equal
But I would do a double level, because you may have more than 1 entry per date. Date descending order with those sorted by Title
Code:
[('title',0),('date',1)]