get sorting to work!