order the lines