title: Ascending and Descending on Powershell query
body: <p>Below query will list down the cmdlets in power shell.</p>
  
  <pre><code>get-command -CommandType cmdlet | Group-Object -Property verb
  </code></pre>
  
  <p>In that i need to sort the column count in descending order and then name column in ascending order. Below queries are not giving expected results.</p>
  
  <pre><code>get-command -CommandType cmdlet | Group-Object -Property verb | Sort-Object Count, name -Descending
  get-command -CommandType cmdlet | Group-Object -Property verb | Sort-Object Count -Descending | Sort-Object name
  get-command -CommandType cmdlet | Group-Object -Property verb | Sort-Object Count -Descending,  name
  </code></pre>
  
  <p>Please help me in this with single query in PS</p>