 
 Template.curatorInbox.helpers
   articles: ->
-    Articles.find()
+    Articles.find({}, Template.instance().sorting.get())
 
   days: ->
     {startDate, endDate} = Template.instance().dateRange.get()

    if calendar
      updateCalendarSelection(calendar, range)

    @subscribe "articles", query, () =>
      unReviewedQuery = $and: [ {reviewed: false}, query ]
      firstSource = Articles.findOne(unReviewedQuery, sort)
      if firstSource
        @selectedSourceId.set(firstSource._id)
      @filtering.set(false)
      if not @latestSourceDate.get()
        sort.fields = publishDate: 1
        @latestSourceDate.set Articles.findOne({}, sort)?.publishDate
      @ready.set(true)

Template.curatorInbox.onDestroyed ->

    dateQuery =
      $gte: new Date(startDate)
      $lte: new Date(endDate)
    sorting = sort: publishDate: -1
    if query.addedByUserId
      sorting = sort: addedDate: -1
      query.addedDate = dateQuery
    else
      query.publishDate = dateQuery

    @sorting.set(sorting)

    @query.set(query)

    Meteor.call 'fetchPromedPosts', 100, range, (err) ->
