revision: insert unsorted, then sort in prepare_revision_walk()