do not crash phone when sorting by Owner Name
validate sort elements on build

pull out case property validation so these can be done analogously
Merge pull request #3804 from dimagi/sort-case-owner

Fix ability to sort by case owner