Description

Order specify order when retrieve records from database, set reorder to `true` to overwrite defined conditions

db.Order("name DESC")
db.Order("name DESC", true) // reorder
db.Order(gorm.Expr("name = ? DESC", "first")) // sql expression

Order is referenced in 88 repositories

github.com/jinzhu/gorm github.com/jesand/hicluster github.com/TF2Stadium/Helen

...