atom/sort-lines — pull request #5 by malmckay (2014-05-07 03:54:11+00:00)
Title: 🚑 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.