diff --git a/docs/api/useSortBy.md b/docs/api/useSortBy.md index 679d2e8..6fecac7 100644 --- a/docs/api/useSortBy.md +++ b/docs/api/useSortBy.md @@ -72,7 +72,7 @@ The following options are supported on any `Column` object passed to the `column - Defaults to `false` - If set to `true`, the underlying sorting direction will be inverted, but the UI will not. - This may be useful in situations where positive and negative connotation is inverted, eg. a Golfing score where a lower score is considered more positive than a higher one. -- `sortType: String | Function` +- `sortType: String | Function(rowA: , rowB: , columnID: String, desc: Bool)` - Used to compare 2 rows of data and order them correctly. - If a **function** is passed, it must be **memoized** - String options: `basic`, `datetime`, `alphanumeric`. Defaults to `alphanumeric`.