sort: For sorted lists, push() and unshift() will add items at their sorted position. This fixes the failing tests on sort.