Forms (and models) in Django are one such thing. When you define fields on a form at the class level, Django maintains a global counter so the fields can retain their order with respect to each other.
Now, with ordered dictionaries, that order is maintained for free.
Kwarg order in functions is also maintained as far as I know.