setDocumentOrder

suspend fun setDocumentOrder(documentOrder: List<String>)

Sets the ordering of documents in the model.

Any documents in the store that are not included in documentOrder will be placed after the specified documents, maintaining their relative order.

Parameters

documentOrder

the list of document IDs in the desired order.