This lab script grades pretty leniently. It sorts the output then compares it to the output originally generated to see if they match. If they do, full credit. If not, it asks the TA to judge.