Fix dates ordering for main page