Table | Steven Weaver | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Steven Weaver
@stevenweaver
Comments (4)
Jakub Hampl
Jul 16, 2020
Perhaps a better example than this to illustrate the API?
Steven Weaver
Jul 16, 2020
Sure, I can do that.
Reply
Jakub Hampl
Jul 16, 2020
Wouldn't it be better to have the order not be a concern of the sorter? i.e. this function would just return weather two items are equal, less than or greater than, but which direction the sort operates is the responsibility of the library code?
Steven Weaver
Jul 16, 2020
Hmm, I'm not sure. I need to be able to handle ascending or descending when the column is clicked multiple times. I will think about it more.
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
Steven Weaver
0
Reply
Reply
Add comment
Subscribe to notifications
0
Table | Steven Weaver | Observable