Not sure we want to go this way in the core, or make it a sort option,
but I like it:

Change line 2036 in engine.php from

                        sort($sortarray);

to

                        natsort($sortarray);

If we decide to make this the default, we could prehaps set a
strict=true option or something to revert to the other method.

It's temporarily in the core, pending feedback.  By the way this
changes all functions using sort, such as search and find.

Cheers,
Dan


On Wed, Oct 7, 2009 at 9:02 AM, blues <[email protected]> wrote:
>
> how do i sort the info report considering that values are numbers and
> not strings?
> when using
>
> [(info report ....... sort=value)]
>
> the values (which are numbers) are considered strings so that, e.g.
> 3>12
>
> blues
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to