SELECT ... ORDER BY (catnum + 0);
Probably late for this replay, but you can convert a string to an integer by
adding a number:
- Re: [sqlite] Sorting a text field as if it were integer/floa... Tony Fenleish
SELECT ... ORDER BY (catnum + 0);