Refactor sort method

Now supports ascending and descending
Further refactoring
Skip selecting text after sorting
Add Xcode 6.2 compatibility
Merge pull request #8 from zenangst/develop

Add support for 6.2