Fixed sync_ds() for the swapped columns.
Authored by: bugman 2011-06-14
Parent: [r12995]
Child: [r12997]