ability to sort by a related field in a portal?
I have a layout based on the parent table with contants and a portal on it with values from a related field (appointment dates). The layout is sorted by default according to the contact ID of the parent table. When I try to sort the contacts by last appointment date (1st portal row) i get erroneous results.
What am i doing wrong?
EDIT : the layout is on list view.