Sorting a grouped view

Hi Team,
how can sort a grouped view? (not ascending/descending)
I want to use something similar to “ORDERBY( list , [_rownumber] )”

tkhs