Wrap call to flush_presort
Merge pull request #1190 from thinkyhead/sd_sorting

Wrap call to flush_presort