change parameters of getLinesTwoStationsCertainOrder