Add sortByTimeIncreasing() in ItemList class

sort the list according to time sequence, and from early to later times