Custom Search

Thursday, October 10, 2013

VIM Editor How to Sort Numbers in Ascending and Descending Order

1)
Ascending
:sort n

2)
Descending
:sort! n



Tips
===
a)
u flag filters out duplicates while sorting
:sort nu

No comments:

Post a Comment