chrisbra / csv.vim

A Filetype plugin for csv files

Home Page:http://www.vim.org/scripts/script.php?script_id=2830

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sort is not working

hsvdg opened this issue · comments

commented

Sorting on a collumn does not seem to work. Even when using with the "n" modified, number seem to get sorted by their length first, only then by the numerical value.

I cannot reproduce this

commented

Here is a small .csv. I sorted it using
2,$ Sort 3

tmp.csv

so you want sorting on floats. Should be possible now using :2,$Sort 3f

commented

Thank you for the quick response (really quick). I was not aware that sorting on floats was not enabled. I updated the package, but I still get the wrong order on the data I uploaded.

It worked for me. Did you use the flag f?

commented

Not sure, but this is what it looks like for me using nvim 0.4.4:
image

commented