fixed sorting bug
Merge branch 'develop' of github.com:TID-Lab/aggie into develop

essary,