create an object collection. In your for-each, append each aggregate object to your collection, say $AggCollection for instance. Then, pipe the aggregate collection throught sort-object specifying the property to sort on (Name I think in your case) with -Property
Both of our responses are the same thing, John was just explaining it in more detail. Both Get-NaAggr and Get-NaVol return a collection of objects when called without the -Name parameter. My use of sort is just the short version of what John wrote. 'sort' is an alias for Sort-Object and the -Property parameter can be left off in this example. It is 'best practice' to use the more verbose version of most cmdlets (as John has done) when writing scripts and saving the short version as I have done for one-liner type scripts. That is typically easier to maintain long after the script is written. In the case of 'sort', though, I typically use the short version.