Actually I only need to accumulate numbers in each line. It is logged in time bases. So I don't think sorting will help me much.