woob.tools.capabilities.bill.documents

woob.tools.capabilities.bill.documents.merge_iterators(*iterables)

Merge documents iterators keeping sort order.

Each iterator must already be sorted in reverse chronological order.

woob.tools.capabilities.bill.documents.sorted_documents(iterable)

Sort an iterable of documents in reverse chronological order