Updated TimSort implementation
Merge remote-tracking branch 'github/master'