sort the movies by given sort order