Make documents an ordered collection.