View Single Post
Old 04-14-2011, 08:11 AM   #38
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,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
Hi Charles - two questions: (1) what if you want to apply multiple sort columns, and (2) if I sort by one field, is it going to be on top of whatever sorting was already applied (i.e. they become a secondary sort)?
The sorts behave like clicking on column headings (or at least should). As such:
- to sort on multiple columns, sort on them one at a time in reverse order.
- the sort is stable, so any existing order becomes secondary.

And you didn't ask, but
- field sorts are entered into sort history. This means that sorts of non-visible columns are preserved across db cache refreshes and db searches.
chaley is offline   Reply With Quote