Model
Ordered
Magento\Sales\Model\Config\Ordered
What it does
This abstract base class manages ordered collections of sales-related models (like order totals or invoice totals) in Magento 2.
It handles loading, sorting, and caching these models based on their configuration, ensuring they are executed in the correct sequence.
Developers extend this class when creating custom collectors for sales entities that need to be processed in a specific order.