Evaluate different sorting methods and compare speed.