Sortable_element and pagination

Hi all!
I have for example 20 items that need to be paginate.
10 items per page.
How can I use sortable_element to sort these items?
For now if I sort 10 items on first page it change positions only for 10
items, not for all 20…

Thanks!