added sorting of movies on movies page