![]() |
#1 |
Member
![]() Posts: 18
Karma: 10
Join Date: Feb 2011
Device: Nook
|
composite custom columns sorted numerically
Is it possible for a composite custom column to be sorted numerically and not alphabetically? I added one for {id} but it goes 1,10,11,12,13,14,15,16,17,18,19,2,20,21 etc... since it's being treated as a string and not a number.
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,013
Karma: 251649
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
|
Try using leading zeros. Examples: 01, 02, 03, etc. or 001, 002, 003, etc.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,110
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use a numeric type custom column
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugboard, template, and custom composite column recipes | chaley | Library Management | 1046 | 01-06-2025 06:24 AM |
Curious - what custom columns are you creating/using? | texasnightowl | Calibre | 16 | 05-28-2015 10:26 AM |
Managing Custom Columns | ddjohn | Library Management | 3 | 02-19-2011 10:42 AM |
Custom Composite Column | silentguy | Calibre | 4 | 11-24-2010 10:28 AM |
Custom Columns - the Future? | Starson17 | Calibre | 2 | 07-13-2010 09:56 AM |