data-sort: replace bctl only after successful swap