Added more sorting methods to the sort handler class