observablehq / inputs

Better input elements
https://observablehq.com/framework/lib/inputs
ISC License
123 stars 33 forks source link

Custom orders for Table columns? #84

Open mbostock opened 3 years ago

mbostock commented 3 years ago

For example, if a column contains arrays, the default natural order won’t work very well. In these cases it would be nice to disable sorting by default, and to re-enable it if a comparator is explicitly specified.

Ref. https://observablehq.com/compare/98d689cadc773fa0@211...d1110ace116e984e@212

rjbudzynski commented 2 months ago

Another use case is a locale-prescribed collation of string values.