timsort is compiled by closure