deltas and table sorting