View Single Post
Old 10-08-2016, 04:04 AM   #9
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,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
CC sorts custom integer and float columns as numbers.

Composite columns are always text, the result of evaluating a template, and that is how CC sorts them. CC does not take the calibre "sort hint" into account. If you want a "id" composite column to sort like a number in CC then you must fill it with leading zeros using something like
Code:
{id:09d}
chaley is offline   Reply With Quote