Revert "Always set sortProperties for repos controller"

This reverts commit 74aa5a0ef00f99a059133c1d86c6cd484e5e8843.