def sort_compare(lst1, lst2, inplace=<NUM_LIT:1>):
if not inplace:<EOL><INDENT>lst1 = lst1[:]<EOL>lst2 = lst2[:]<EOL><DEDENT>lst1.sort(); lst2.sort()<EOL>return lst1 == lst2<EOL>
Sort and compare two lists.

    By default it does it in place, thus modifying the lists. Use inplace = 0
    to avoid that (at the cost of temporary copy creation).