Setup:
Timed:
import random
x = [random.randrange(n*4) for i in range(n)]
Timed:
y = TypeToTest(x)
y.sort(key=float)
Sort a random listSetup:
import random Timed: y = TypeToTest(x) |