I will give that a try.
>>> Dan Nelson <dnelson@stripped> 3/23/2004 11:31:50 AM
In the last episode (Mar 23), Jacque Scott said:
> I have something like A001C, B689, B1001 etc...
Aah. This question pops up about once a year, usually under the
subject of "Natural Sorting". There's no builtin function for doing
this, but one solution would be to write a UDF that finds runs of
numeric characters, and zero-pads them out to, say, 5 digits. Then
using ORDER BY padnumbers(myfield), your three sample values will look
, and mysql will sort them right.