code: def getLinkedRequests(self):
          
          rc = api.get_tool("reference_catalog")
          refs = rc.getBackReferences(self, "AnalysisRequestAttachment")
          # fetch the objects by UID and handle nonexisting UIDs gracefully
          ars = map(lambda ref: api.get_object_by_uid(ref.sourceUID, None), refs)
          # filter out None values (nonexisting UIDs)
          ars = filter(None, ars)
          # sort by physical path, so that attachments coming from an AR with a
          # higher "-Rn" suffix get sorted correctly.
          # N.B. the created date is the same, hence we can not use it
          return sorted(ars, key=api.get_path, reverse=True)
docs: Lookup linked Analysis Requests
  
          :returns: sorted list of ARs, where the latest AR comes first