add parsing to movieSort
added sortMovies function