Feature/round off sorting dialog 8280

https://www.openproject.org/work_packages/8280
https://www.openproject.org/work_packages/9836
@tilt first time I've seen `angular.identity`!