Say I have Stored some array of data using NSMutableArray. The stored array contains Timestamp and real time datas
I am receiving array of size 6 each time from a sensor device. The first position always has time stamp data and remaining position is occupied by real time datas. So, I have stored them sequentially in an NSMutableArray
Here I am receiving datas with Time stamp in different order. So, I am in need to sort the time stamp in Ascending order with respect to datas (array of size 5) that are tied up with time stamp. So that I can able to plot the graph associated with each time stamp.
So my question is how to sort the time stamp without disturbing the data that are associated with each TimeStamp values.