View Single Post
Old 12-04-2010, 05:19 AM   #11
mornington
Connoisseur
mornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enough
 
Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
Quote:
Originally Posted by chaley View Post
I assume you have created a composite custom column showing this value? If you want leading zeros, then that column's template should be
Code:
{authors:0>2s:count(&)}
Format specifications are applied after function specifications.

As for specifying the sort type, that won't work in your case. Composite columns are always strings.
That's what I was after - thanks a lot. I tried a couple of different syntax combinations (but not that one, obviously) but couldn't figure out one that did it.

Sorting-wise, it's fine sorting by string so long as the string is zero-filled ;-)
mornington is offline   Reply With Quote