added tim's comment on timsort