Generator sorts generated items to prevent random diffs
Removed unused code from generator