Timing tests for some sorting algorithms