Deprecation: #74156 - TemplateService::sortedKeyList and TemplateService->removeQueryString

See forge#74156

Description

The methods TemplateService::sortedKeyList() and TemplateService->removeQueryString() have been marked as deprecated.

Impact

Calling one of the methods above will trigger a deprecation log entry.

Affected Installations

Any TYPO3 installation with a custom extension that uses these PHP methods.

Migration

Use TYPO3\CMS\Core\Utility\ArrayUtility::filterAndSortByNumericKeys and rtrim($url, '?') as drop-in replacements.