W2: The sort() function is missing a "j=0;" line right before the while(j