Delegate date sorting stuff to _data

DataModelAdapter shouldn't know about dates. It should just ask the
underlying data of its children how they should be sorted.
Fallback to string sorting if sort_key undefined in data
Implement sort_key in Transaction
Warn table view when layout might change