Sort appointments ascending