Create task6 - sort