Sorts items according to a sorted-object.
The function
sort-object-items-by
sorts
items
according to the current sort type of
sorted-object
, as set by sorted-object-sort-by.
Note: if the sort type is reversed, items will be sorted in reverse order.