title: Kubernetes sort pods by age
body: <p>I can sort my Kubernetes pods by name using:</p>
  
  <pre><code>kubectl get pods --sort-by=.metadata.name
  </code></pre>
  
  <p>How can I sort them (or other resoures) by age using <code>kubectl</code>?</p>