C
Claus
I need some help with a sorting problem.
I want to sort strings that might have number inside.
Ie: "cbr1", "cbr2", "cbr10".
If I sort the above strings, I get this result:
"cbr1", "cbr10", "cbr2"
I wanted this order:
"cbr1", "cbr2", "cbr10".
I plan to use RuleBasedCollator, but can't get the collation rules
right for this problem.
Can anybody help me ?
By the way: how does the "?" work in a rule - I can't seem to find any
description on this "parameter" ?
Kind regard
C.Bro.
I want to sort strings that might have number inside.
Ie: "cbr1", "cbr2", "cbr10".
If I sort the above strings, I get this result:
"cbr1", "cbr10", "cbr2"
I wanted this order:
"cbr1", "cbr2", "cbr10".
I plan to use RuleBasedCollator, but can't get the collation rules
right for this problem.
Can anybody help me ?
By the way: how does the "?" work in a rule - I can't seem to find any
description on this "parameter" ?
Kind regard
C.Bro.