How to reduce the costs of an sql select with order by? How to reduce the costs of an sql select with order by? postgresql postgresql