Add method to get users by their preference
Hack around oracle for CLOB fields
Sort the result before comparing
Merge pull request #8893 from owncloud/feature/get-users-by-preference

Add method to get users by their preference