I am implemented different sorting algorithms in Python to better understand them, and I was wondering what type of sort does Python's built-in sort method implement?
Asked
Active
Viewed 8,125 times
7
-
1Great for learning sort algos: http://www.youtube.com/watch?v=lyZQPjUT5B4 – Doug T. Apr 15 '11 at 15:53
1 Answers
18
It's an algorithm called Timsort developed by Tim Peters specifically for Python.

Sven Marnach
- 574,206
- 118
- 941
- 841
-
Didn't want to make drastic edits for one character, but it should be "developed" with one 'p'. – Arya McCarthy May 16 '17 at 05:27