Add a couple more test cases.
Import `timsort` implementation by Patrick Perry.
Merge pull request #764 from danfuzz/sorting-is-hard

Timsort