Distinguish loop variables from arguments; Improved sorting function