Sort list by year, rating, title

 - adds buttons to sort the movies by year, rating, and title
 - uses if/else statement to check if params[:key] is empty
 - if it's empty, sets a default order
 - if it's not empty, use what's in the URL from params