Tweaked sort, cleaned code, updated Readme