Playing with Python and most common sorting algorithms