fix: `isPartialOrder` in `grind order`

This PR fixes a panic in `grind order` when order is not a partial
order.
2 files changed