Added task sorting action.