$ 0 0 Summary: Use Windows PowerShell to sort an array. How can I use Windows PowerShell to sort an array? Use the static Sort method from the [array] class, for example:$a = 1,2,4,5,3,6 [array]::sort($a)