Graph : Sorting transactions based on time