```ruby
# frozen_string_literal: true

# Nothing much special here
class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true
end
```

Set a default sort order for everything
user
```ruby
# frozen_string_literal: true

# Nothing much special here
class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true

  default_scope { order(created_at: :asc) }
end
```
assistant