NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
It would be great if it was possible to choose a key to be set as the default sort value for Details Summary Macro tables
Extend Page Properties Report macro to support sorting
Detailssummary Macro default sort options