plan sorting prob on toggle date