View inventory now alphabetizes view on write.

View inventories inherit from TypedOrderedDictionary.

The new Controller._sort_ordered_dictionary() method alphabetizes the views in
in an inventory.