Changes to ensure engagement segments are in order in array for
engagement by segment report