Create a constructed list and give it these instructions:
Begin Unverified Perl
my $plist = 'list1';
my $exer = 'mxd';
addBestOf(1, 2, 3);
addBestOf(5, 6, 7);
addBestOf(8, 9, 10);
sub addBestOf {
my $bestItem = 0;
my $bestScore = -99999;
foreach my $item (@_) {
my $score = MAXDIFFSCORE($exer, $item);
if ($score > $bestScore) {
$bestItem = $item;
$bestScore = $score;
}
}
ADD($plist, $bestItem);
}
End Unverified
"mxd" should be replaced with the name of the MaxDiff exercise and "list1" should be replaced with the name of the exercise's list. Lines 5-7 should be updated to reflect your group settings: each line being a group and the list in that line being the items involved in that group.
Your constructed list should now have the selected items and you can do with them as you wish.