Implemented Sorting and Quick Tasks