Hi dear community,
I have a Gallery with a Nested Gallery.
The Gallery has Items: "Sort(GroupBy(Search('Inventory',TextInput5_1.Text, "Category"),"Category", "DATA"),Category,Ascending)"
I have a button in the Gallery with Text: "ThisItem.Category & " " & CountRows(Gallery11.AllItems)" (Gallery11 is the nested gallery).
This gives me a result of:

As you can see, it is giving me a count of the records in the Nested Gallery (great!).
All I want to acheive now is to sort that gallery by the CountRows of the nested gallery so in the above pic, IS CORE SUPPORT would be at the top (because it has a count of 4) etc.
Thanks so much as always!