BM> SR> It sorts list to a degree but I end up with
BM> SR> 1:xxx/xxx
BM> SR> 111:xxx/xxx
BM> SR> 2:xxx/xxx
BM> My suggestion would be to pad short numbers with leading
BM> zeroes or spaces.
In a database such as ACCESS, that's exactly what I do.
Since this is his own code, however, he should be able to
use a char based field and still sort by numerical value
by creating the proper comparison routine without resorting
to forcing an unnatural text format for integers.
> ] Remain calm and think. I will help you. - Kwai Chang CPUfan.
---
---------------
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)
|