implement sort problem, solve it perfectly, goood