It is not uncommon to have a series of elements to add to an OrderedConfiguration in a specific order; it would be nice if there was a way to add sequential items without manually tracking each nodes name and adding "after:" clauses.
configuration.add("item1", new Item1());
configuration.addSequential("item2", new Item2());
This would simply add an "after:item1" ordering constraint for item2, and an "after:item3" constraint for item3.
It should be legal to add an item sequentially, even if there is no previously added item (added in this contribution method, or elsewhere), in which case, no ordering constraint it added.
Would "next" and "nextInstance" be better than "addSequential" and "addInstanceSequential"? I'm open to other suggestions on the naming.