Completed sort test