Put transaction in same day in right order