Remove compareFunc from sorts

Fixes #26