HHH v4

Rails AREL different way to order ASC / DESC

Edit
equivalent Web Development
Public
Rails
PostgreSQL
AREL trick

Procedure.order(name: :desc)
Procedure.order(name: :asc)

Procedure.order(Procedure.arel_table[:name].desc)
Procedure.order(Procedure.arel_table[:name].asc)