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/guide/sorting.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -284,16 +284,20 @@ Any undefined or nullish values will be sorted to the beginning or end of the li
284
284
285
285
In not specified, the default value for `sortUndefined` is `1`, and undefined values will be sorted with lower priority (descending), if ascending, undefined will appear on the end of the list.
286
286
287
+
-`'first'` - Undefined values will be pushed to the beginning of the list
288
+
-`'last'` - Undefined values will be pushed to the end of the list
287
289
-`false` - Undefined values will be considered tied and need to be sorted by the next column filter or original index (whichever applies)
288
290
-`-1` - Undefined values will be sorted with higher priority (ascending) (if ascending, undefined will appear on the beginning of the list)
289
291
-`1` - Undefined values will be sorted with lower priority (descending) (if ascending, undefined will appear on the end of the list)
290
292
293
+
> NOTE: `'first'` and `'last'` options are new in v8.16.0
0 commit comments