```ruby
module Forem
  class CategoriesController < Forem::ApplicationController
    helper 'forem/forums'
    load_and_authorize_resource
  end
end
```

Order admin categories list by ordinal
user
```ruby
module Forem
  class CategoriesController < Forem::ApplicationController
    helper 'forem/forums'
    load_and_authorize_resource

    def index 
      @categories = Forem::Category.all.order("ordinal ASC")
    end
  end
end
```
assistant