Browse Source

Fix typo in sort.md (#4296)

Julia Friesel 1 year ago
parent
commit
f8eac727e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/docs/src/en/plugins/sort.md

+ 1 - 1
packages/docs/src/en/plugins/sort.md

@@ -95,7 +95,7 @@ You can react to sorting changes by passing a handler function to `x-sort` and a
 </div>
 <!-- END_VERBATIM -->
 
-The `x-sort` handler will be called every time the sort order of the items change. The `$item` magic will contain the key of the sorted element (derived from `x-sort:item`), and `$position` will contain the new position of the item (staring at index `0`).
+The `x-sort` handler will be called every time the sort order of the items change. The `$item` magic will contain the key of the sorted element (derived from `x-sort:item`), and `$position` will contain the new position of the item (starting at index `0`).
 
 You can also pass a handler function to `x-sort` and that function will receive the `item` and `position` as the first and second parameter: