stevenrskelton / sortable-table

Polymer Web Component that generates a sortable <table> from inlined or AJAX JSON, JSON5, and arrays.
https://stevenrskelton.github.io/sortable-table/
MIT License
196 stars 37 forks source link

Smarter Sorting #42

Closed SebastianBoyd closed 9 years ago

SebastianBoyd commented 9 years ago

The sort should be able to recognize different data types such as date times like what excel does when you import a data set.

stevenrskelton commented 9 years ago

I added the ability to specify the datatype for columns, giving more accurate sorting. I'll see if I can also make the default sorting better at type inference.

masonlouchart commented 9 years ago

+1

Louchart Mason Google+ https://plus.google.com/+MasonLouchart/posts | LM+ https://plus.google.com/+Louchart-masonFr/posts | louchart-mason.fr | Twitter http://twitter.com/louchart_mason | Youtube https://www.youtube.com/user/LouchartMason | GitHub https://github.com/LM450N

2015-04-27 4:30 GMT+02:00 Steven Skelton notifications@github.com:

I added the ability to specify the datatype for columns, giving more accurate sorting. I'll see if I can also make the default sorting better at type inference.

— Reply to this email directly or view it on GitHub https://github.com/stevenrskelton/sortable-table/issues/42#issuecomment-96476934 .