sorting & classifying by eatby date