Sort

Fixes #56