It seems that generated tables displaying a nested datasource (composition entity) cannot be sorted by the user on the edit screen.
I have attached a sample project that shows this.
Issue
When a user clicks on the column header to sort by that column, nothing happens.
compositetablesortissue.zip (33.9K)