clicking button sorts movies by rating