You can reverse the direction of a line by pressing the "Reverse paths" button on the info bar (i.e. the tool bar under the menu's) once you enter the Shape Tool (F4 or the reversed S button on the Tool bar) You can select all the lines you want to reverse and apply this affect to all of them in one fell swoop