spatie / vue-table-component

A straight to the point Vue component to display tables
http://vue-table-component.spatie.be
MIT License
588 stars 149 forks source link

Sorting a column with numbers sorts alphabetically instead of numerically #145

Closed 8bit-echo closed 6 years ago

8bit-echo commented 6 years ago

Given the dataset: [ 9, 9812, 945, 10000]

manoreaumarois commented 6 years ago

Did you use data-type="numeric"? https://github.com/spatie/vue-table-component#props

8bit-echo commented 6 years ago

I must have missed that in the docs. Thank you!