added deleted broken test added sort controller and test