Test reductions
Sort by a field for consistent results during testing
Implement reductions