On Jun 10, 2014, at 12:39 PM, Paul Isambert <zappathustra@free.fr> wrote:
> If you use "sort(numbers, 'MyCompare')" with "MyCompare()" define as
> in the help for "sort()", it works well.
>
> On the other hand, I'd say sorting numbers as strings is definitely a
> bug in this situation.
Thanks Paul. I'd not noticed "MyCompare" in the documentation somehow.
I did notice that the sort() help says that it sorts based on the String representation of the items, so I guess this is at least *mentioned*, but I agree in considering it a bug. At the very least I'd expect an alternate function to be built in.
Ben
--
b
Sent from my iPhone
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tuesday, June 10, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment