The items now are sorted but the 1st and last items are the 1st and last date