dhruvasagar / vim-table-mode

VIM Table Mode for instant table creation.
2.1k stars 97 forks source link

Sorting only works for first character when sorting a column of ints #160

Closed lancekrogers closed 4 years ago

lancekrogers commented 4 years ago

Table ordering a column of ints sorts by first digit only

column with values 1-12 sorts like this: [1,10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9]

dhruvasagar commented 4 years ago

@lancekrogers TableSort leverages :sort by column, :TableSort n should work better in this context but you can also work with more complex patterns, I would recommend read :h :sort.