fix wording

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-03-01 16:08:09 -05:00
1 parent e3f5327f24
commit 5077aafc29
1 file changed
+1 -2
+1 -2
View File
@@ -43,8 +43,7 @@ export abstract class ItemStore<T extends ItemObject = ItemObject> {
* Return `items` sorted by the given ordering functions. If two elements of * Return `items` sorted by the given ordering functions. If two elements of
* `items` are sorted to the same "index" then the next sorting function is used * `items` are sorted to the same "index" then the next sorting function is used
* to determine where to place them relative to each other. Once the `sorting` * to determine where to place them relative to each other. Once the `sorting`
* functions have bee all exausted then the order is the order they were initially * functions have been all exausted then the order is unchanged (ie a stable sort).
* in (ie a stable sort).
* @param items the items to be sorted (default: the current items in this store) * @param items the items to be sorted (default: the current items in this store)
* @param sorting list of functions to determine sort order (default: sorting by name) * @param sorting list of functions to determine sort order (default: sorting by name)
* @param order whether to sort from least to greatest (`"asc"` (default)) or vice-versa (`"desc"`) * @param order whether to sort from least to greatest (`"asc"` (default)) or vice-versa (`"desc"`)