Python module with defined common sorting algorithms accepting a normal Python list