Added db populate task for appointments only
sorted appointments needing approval ascending