Tuesday, June 10, 2014

Re: Sorting a List of Numbers

On Di, 10 Jun 2014, Павлов Николай Александрович wrote:

> How would you sort a heterogeneous list otherwise?

Who says, lists are always heterogeneous? I think one could try to sort
numerical, if all list items are of type number or float, else keep the
existing sorting order.

Best,
Christian
--
Die Laster der Großen nennt man Allüren.
-- Friedl Beutelrock

--
--
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.

No comments:

Post a Comment