2 Apr
2004
2 Apr
'04
11:54 p.m.
Jaroslav Lukesh wrote at 2004-4-2 16:28 +0200:
... this sorting is bad becaouse a and b are strings, not numbers. But following examples
<dtml-in database sort_expr="int(a),int(b)"> <dtml-in database sort_expr="_str(a).int(),_str(b).int()">
returns errors for all what I was try.
Use "sequence.sort" and provide your own sort function. -- Dieter