🚑 Ignore trailing newline when sorting file

Fixes #4
Selected ranges are "cleaned" with @sortableRangeFrom. We didn't do this when the selected range was the entire file, so I changed to do so in that case as well.