PostgreSQL version:

enable_sort

Enables or disables the query planner's use of explicit sort steps. It is impossible to suppress explicit sorts entirely, but turning this variable off discourages the planner from using one if there are other methods available. The default is on.

Recommendations

For interactive session use only when troubleshooting queries.

Comments