diff --git a/attribute/service.go b/attribute/service.go index cfc31ea..a129e6d 100644 --- a/attribute/service.go +++ b/attribute/service.go @@ -27,7 +27,7 @@ func (srv Service) Load() error { key := c.Query("key") if key == "" { var attrs []Attribute - store.DB.Find(&attrs) + store.DB.Order("key").Find(&attrs) server.OK(c, attrs) } else { var attr Attribute