Reports sorting and using head or last and suggests replacing it with max or
min.
Example:
Seq("abc", "defg", "h").sorted.head
Seq("abc", "defg", "h").sortBy(_.length).last
After the quick-fix is applied:
Seq("abc", "defg", "h").min
Seq("abc", "defg", "h").maxBy(_.length)