newdb: Enable sorting on the marked field for the find duplicated plugin