I have an object that takes an ordered List (IOrderedEnumerable) of items where the order of the items is important. 

```
public class OrderedListWorker : IListWorker
{
    private OrderedListWorker(IOrderedEnumerable<IListItem> orderedListItems)
    {
        foreach (var listItem in orderedListItems)
            listItem.DoSomethingWhereOrderMatters();
    }
}

```

I have multiple objects of type `IListItem`.

How can I register `OrderedListWorker` with Autofac and ensure that I get the ListItems in a specifc order at run time?

I see that order isn't guaranteed in [This Post](https://stackoverflow.com/questions/5218803/is-order-of-dependencies-guaranteed-when-injecting-ienumerablet), but I'm not sure how to guarantee order.