Still worked on median sort, the result is not correct yet