Currently, affiliated entities are sorted alphanumerically. This is probably useful for most cases, but not all. Take, for example, a dynasty that lists all its rulers. Here I'd like chronological sorting (Henry VIII before Elizabeth II).
One possible solution is to add a protected descriptor "sorting" to entities, which contains either an empty string or another protected descriptor, by which affiliated entities are sorted. One drwaback is that currently not all contents of protected descriptors are sortable. For example, sorting by the role of an affiliation member is not directly possible with this setup.
More thoughts required!