Add tie-breaker count to preserve sort stability.
1 file changed