<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sort_ordered_objects(items, getter=lambda x: x):
 """Sort an iterable of OrderedBase instances. Args: items (iterable):
 the objects to sort getter (callable or None):
 a function to extract the OrderedBase instance from an object. Examples: """

    return sorted(items, key=lambda x: getattr(getter(x), OrderedBase.CREATION_COUNTER_FIELD, -1))