sorted
sorted copied to clipboard
Document what happens if items to sort are "equal"
What happens if object A and object B using given comparator strategy are equal? Is order from original list preserved?
And what happens if they are equal, but invert
is used?