Fixed the bug in sortByTimeIncreasing() in ItemList class