Hello *

Is there a way to sort string data (varchar) in Firebird by a "natural"
or "logical" sort order, just like using the Windows API function
StrCmpLogicalW [1] ?

Sort result of text with numbers should be:

Item1
Item2
Item3
Item10
Item11
Item20
Item30

That is, sorting should treat the digits as numbers rather than text.

[1]
> http://msdn.microsoft.com/en-us/library/bb759947.aspx

TIA
Achim



------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Resources item
on the main (top) menu.  Try Knowledgebase and FAQ links !

Also search the knowledgebases at http://www.ibphoenix.com 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/firebird-support/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to