diff --git a/internal/merch/repository_origins.go b/internal/merch/repository_origins.go index 464d6c3..6d7e63d 100644 --- a/internal/merch/repository_origins.go +++ b/internal/merch/repository_origins.go @@ -23,7 +23,7 @@ func (r *repo) createOrigin(ctx context.Context, origin *Origin) error { } func (r *repo) getOrigins(ctx context.Context) ([]Origin, error) { - q := `SELECT * FROM merch_origins WHERE deleted_at IS NULL` + q := `SELECT * FROM merch_origins WHERE deleted_at IS NULL ORDER BY id` rows, err := r.db.Query(ctx, q) if err != nil {