Sort appointments by created date