sorted works on child tables.