title: Default sort property
body: <p>Using PowerShell, I'm trying to understand the concept of <em>default sort property</em>.</p>
  
  <p>According to this example, provided for the <code>Sort-Object</code> command :</p>
  
  <pre><code>PS C:\&gt;get-childitem | sort-object
  </code></pre>
  
  <p>Because no properties are specified, <code>Sort-Object</code> uses the <em>default sort property</em> for objects of type <code>file</code> and <code>directory</code>, which is <code>Name</code>.</p>
  
  <p>Is there a way to know, for any given type, which is its default sort property ?</p>