View Single Post
Old 02-09-2016, 09:19 AM   #17
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: 31,109
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by HarryT View Post
That will sort by date within title, won't it? If you want to sort by title within date, shouldn't it be the other way around?

Code:
 [('date',1), ('title',0),]
I guess it depends whether the "date" column just stores the date, or a full timestamp. If it's the latter, you'll never have two items with the same timestamp, so there can't sensibly be a secondary sort column.
Yes, it is a timestamp so the the TITLE ORDER won't be a order unless they were added at the same exact time.

and I almost always get it backward, as to which is first
(But it is real easy to flip )

Sort Title to set the order Bias, then set the Date. Same as clicking the column headers in the GUI
theducks is offline   Reply With Quote