[PATCH 3/5] dwrite: Collect and sort positional lookups.