Sorted document metadata, remove autofill, complete merge and sort