Hi I am brand new to programming, I dont know how to go about this task, or what language is best for this...If there is an easy solution in different languages, I would love to see them. I want to learn about the steps to take on this, so Please put in comments where code is used.
I believe in the old addage, "teach a man to fish and he is fed for life"
Thank you all in advance.
I have a file that need to have some of the lines' ordering switched.
When the (x)coordinate (x,y)is even integer, need to reverse line order.
starting file
'some value' 1,1
'some value' 1,4
'some value' 1,6
'some value' 2,4
'some value' 2,5
'some value' 3,1
'some value' 4,1
'some value' 4,4
'some value' 4,8
'some value' 5,4
New File
'some value' 1,1
'some value' 1,4
'some value' 1,6
'some value' 2,5
'some value' 2,4
'some value' 3,1
'some value' 4,8
'some value' 4,4
'some value' 4,1
'some value' 5,4
Thank you all in advance for any help