rework timing of the msd sort