fix: `grind` sort internalization

This PR ensures sorts are internalized by `grind`.
2 files changed