Let's say I want to display a sorted list of family:
# publications
Meteor.publish "families", ->
Families.find({}, {sort:{name:1}})
# routes
@route 'families',
path: '/families'
waitOn: ->
return Meteor.subscribe('families')
data: ->
families: Families.find()
# or
families: Families.find({}, {sort:{name:1}})
I tested and it seems both are working fine. What's the best practices here?