public void NormalizeOutputs() {
int i;
for (i = 1; i <= this.getShiftContainer().getShiftNum(); i++) {
Shift s = this.getShiftContainer().getShiftById(i);
if (s.getParent() == null) {
s.sortAssignments();
}
}
for (i = this.getShiftContainer().getShiftNum(); i > 0; i--) {
Shift s = this.getShiftContainer().getShiftById(i);