If you want to add the ranked items in order then you need to use MaxDiffRankAttValue(MD1, 1) and so on in the constructed list logic.
begin unverified perl
my $listlength = LISTLENGTH('MD1List');
for (my $i = 1; $i <= $listlength; $i++)
{
ADD('MD1List', MAXDIFFRANKATTVALUE('MD1', $i));
}
end unverified
This code will create a constructed list where the order is determined by the maxdiff ranking values.