Tuesday, August 24, 2010

sort words within a line

How does one sort words with a line ? As example I have these numbers in a
line:

400, 250, 125, 600

I want to sort them so they will be 125, 250, 400, 600

I have tried the visual command then !sort but that doesnt do it.

Thanks
Tom

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

No comments: