Is sorting of list also necessary?

Do I need to sort the even and odd numbers ?