Thanks for the info. Those tips are/will be very useful in many areas.
I am trying to find the intersection of two lists of records. But it seems I can’t use listA's item i is in listB for comparing a record in a list of records. So I intend to extract the uuid of the two lists, get the intersection of the two lists of string, and converting the intersection back to a list of records.
I’d recommend you to use scripting additions, like Late Night Software’s List & Record Tolls or Satimage package. They are “masthave” if you deal with lists and records in AppleScript, as @BLUEFROG said, this is a well known shortcoming, esp records