Can I use my test case results in another tests case

I Have a test case that returns me a List of elements and I have another test case that also returns a different set of elements in a list
I want to compare these two results
so is it doable to take output from TC1 and output from TC2 then maybe and compare them together in a 3rd Test case or final one ?
and what is the best way to do so
( I might have more than just Two Test Cases to compare)

Use

a called TestCase can return any value to the caller.