[TASK] Add sorting flag for configuration records

Resolves: #60212
Change-Id: Ib7a237e50bf65e72062086d55b941727b2f4f46a
Reviewed-on: https://review.typo3.org/31540
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers