fix: sort, closes #1