Added sort functionality to comment controller get requests