extracted the common steps for comparing two Lists ( ignore contents order )