Refactoring sorting the list of all movies (two if).