can someone suggest me how to sort data..?
Hi everyone,
I have this time-output data like this in txt data type..
Code:
time,output
0.6,20.0
1.0,40.0
0.8,20.0
and i want to sort it out by every row in the next time data is the sum of all the previous time data,like this..
Code:
0.6,20.0
1.6,40.0
2.4,20.0
i tried to use TreeMap by recklessly adding another column before the time column and sorting it with A to Z,hoping it will update with the natural order ABC but it doesnt work well. Can anyone suggest me something because i kinda use all of my ideas right now..