```coffeescript
`import Ember from 'ember'`
`import PaginateMixin from 'irene/mixins/paginate'`

FileListComponent = Ember.Component.extend PaginateMixin,

  project: null

  targetObject: "file"
  sortProperties: ["id:desc"]

  classNames: ["columns", "margin-top"]

  extraQueryStrings: Ember.computed "project.id", ->
    query =
      projectId: @get "project.id"
    JSON.stringify query, Object.keys(query).sort()


  newFilesObserver: Ember.observer "realtime.FileCounter", ->
    @incrementProperty "version"

`export default FileListComponent`
```

Move the sorting of files to createdOn
user
```coffeescript
`import Ember from 'ember'`
`import PaginateMixin from 'irene/mixins/paginate'`

FileListComponent = Ember.Component.extend PaginateMixin,

  project: null

  targetObject: "file"
  sortProperties: ["createdOn:desc"]

  classNames: ["columns", "margin-top"]

  extraQueryStrings: Ember.computed "project.id", ->
    query =
      projectId: @get "project.id"
    JSON.stringify query, Object.keys(query).sort()


  newFilesObserver: Ember.observer "realtime.FileCounter", ->
    @incrementProperty "version"

`export default FileListComponent`
```
assistant