and now also the popup menu works correctly on sorted rows...