`sorted` works on arbitrary iterables