[quick sort] tests passing