Sort by date and display doctor names on appointments