>Untested, but this might work: > >put the keys of x into y >sort lines of y --> sort lines of y numeric >put empty into z >repeat with i = 1 to the number of lines in y --> repeat for each line i in y > put x[i] & the lineDelimiter after z >end repeat >delete the last char of z >put z into field 2 > Robert Brenstein