Adds support for UI sorting and filtering.