Adding sorted lots script