Sorting tasks implemented