title: Sort NULL values to the end of a table
body: <p>Is there a way with PostgreSQL to sort rows with <code>NULL</code> values in fields to the end of the selected table?</p>
  
  <p>Like:</p>
  
  <pre><code>SELECT * FROM table ORDER BY somevalue, PUT_NULL_TO_END
  </code></pre>