Seems this would not be a deterministic thing, or is there a way to do this reliably?
WinMerge (windows only) has lots of features and one of them is:
Archive file support using 7-Zip