Added ``keep_sorted`` read/write property TypedList.

If true, the collection will sort itself on mutation.

This is in preparation for implementing a NoteHeadInventory, which needs to
remain sorted.