> I wanted to sort the first field numerically of a text applying the
> functions of Dr. Chip but all I can achieve is the following:
> 
> -----------------------------
> 977   ./gnuwin/coreutils-5.3.0-dep
> 9784  ./RESKIT
> 98    ./gnuwin/coreutils-5.3.0-9/usr/share/locale/af
> 987   ./Unison/Orchestral
> 9882  ./mac/PC Mac Lan_9_FULL/pmac2K/GSSetup/gs7.05
> 99    ./WinFIG15/WinFIG/doc
> -----------------------------
> 
> Is it possibile to sort the 1. first field numerically and how?


The :sort command takes several options to tweak its behavior.
It looks like you may want

        :%sort n

to sort numerically rather than ASCII-wise.

-tim


Reply via email to