Made sort a param