test case 5 sorting algorithms