Thoughts on turning this method to:

```ruby
sorted_years = searched_movies.map(&:year).sort
return sorted_years.first, sorted_years.last
```