<div dir="ltr"><div>I have no idea how to sort a patch. I have tried this but it says: ERROR: column "x" does not exist</div><div><br></div>select pc_sort(( select pa from patches where id=14 ), x );<br><div><br></div><div>Could somebody provide an example?<br></div><div><ol><li>Is sorting important performance wise for further queries?</li><li>How do I sort "in place" a whole patch?</li></ol><div>Thank you in advance<br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-- </div><div class="gmail_signature"><div dir="ltr"><b>David Serret </b>- R&D Engineer at Eigen Dynamics SL<br><img src="http://www.eigendynamics.com/wp-content/uploads/2017/02/EigenLogo200dpi-1.jpg" width="200" height="88"></div></div>
</div>