fix sorting of appointments
3.5.1-4
Merge branch 'release/3.5.1-4'