fixed sorting bug
Merge branch 'develop' of github.com:harvard-lil/perma into develop
Merge branch 'develop' of github.com:harvard-lil/perma into develop
closes #384 and closes #383