DB: fix small regression in behaviour with Data Pump and presort. See #321