What is your use case? What would you like to do?
See the documentation for specific forms of the list operations: https://docs.mendix.com/refguide/list-operation
If you want to compare different entities there are multiple ways to do this, for example by comparing attributes or associations maybe through a find or filter list operation.
I would recommend to go through these learning paths to understand how mendix object handling and references work.