Subject | Re: [firebird-support] Natural Sort Order |
---|---|
Author | Ann W. Harrison |
Post date | 2010-11-29T22:14:36Z |
On 11/29/2010 10:43 AM, thedevguy wrote:
sorting algorithm that produces that result? Not mathematically
or in code, just simple English words.
Cheers,
Ann
> Does Firebird contain a natural sort order algorithm of some kind? We have an alphanumeric field that we would like to sort in the following order:OK, that's an interesting problem. Could you describe the
>
> 1
> 10
> 100
> 1010
> 20
> 25
> 123aef
> aef123
>
> I tried using different character sets but was not able to find a resolution. I can't convert the values to numerics because there will be alphanumerics in the field. There is no standard type of values that I could substr out as well. Meaning we could have any type of alphanumerics.
>
sorting algorithm that produces that result? Not mathematically
or in code, just simple English words.
Cheers,
Ann