data-sort: set err on chunk add failure
data-sort: replace assert with if
data-sort: replaced local->current with shortcut.

This makes code more readable.
blob: add atomic comments
data-sort: added sorted file defragmentation note
data-sort: simplify code by removing sort of empty bases