You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/api/features/sorting.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The following sorting functions are built-in to the table core:
37
37
- `datetime`
38
38
- Sorts by time, use this if your values are `Date` objects.
39
39
- `basic`
40
-
- Sorts using a basic/standard `a > b?-1:b < a?1:0` comparison. This is the fastest sorting function, but may not be the most accurate.
40
+
- Sorts using a basic/standard `a > b?1:a < b?-1:0` comparison. This is the fastest sorting function, but may not be the most accurate.
41
41
42
42
Every sorting function receives 2 rows and a column ID and are expected to compare the two rows using the column ID to return `-1`, `0`, or `1` in ascending order. Here's a cheat sheet:
0 commit comments