added asc, desc sort to linesbytwostations