Refactored movies index for RESTful sorting