If I understand you correctly, you want to add new readings to an already existing table and then you want to ensure that the new table is "sorted" according to the times of the readings. You then want to obtain averages.
Is this correct?
If so, the easiest way to accomplish it is...