sorting algorithm testing done