HubSpot / sortable

Drop-in script to make tables sortable
http://github.hubspot.com/sortable/docs/welcome
MIT License
1.33k stars 116 forks source link

first sorting column -- bug or feature? #34

Open iwelch opened 8 years ago

iwelch commented 8 years ago

I am trying sortable 0.8.0. in the enclosed simple html file, the first column should start out sorted. alas, it just appears in its default ordering. even clicking on the sorting header only reverses it. once I click on the second column, and then back on the first column, the sort on the first column begins to work, however.

is this a bug or a feature?

test-sortable.txt

SaintSimmo commented 8 years ago

I have the same issue. Upon page load, clicking on a column does not sort it, it just flips the order. Upon clicking on a second column, the sort works, and then works as intended on the first column when clicked.

triasrahman commented 8 years ago

How to make the default sorting? I need the feature to set the default column to be filtered.

sayedrakib commented 7 years ago

I have the same issue.

karam94 commented 6 years ago

Same issue here.