Meteor.publish('topics', function (categoryId) {
  return Topics.find({categoryId: categoryId});
});

Meteor.publish('topic', function (topicSlug) {
  return Topics.find({slug: topicSlug});
});

Meteor.publish('recent-topics', function () {
  return Topics.find({}, {sort: {date: -1}, limit: 10});
});

Meteor.publish('topics', function (categoryId) {
  return Topics.find({categoryId: categoryId});
});

Meteor.publish('topic', function (topicSlug) {
  return Topics.find({slug: topicSlug});
});

Meteor.publish('recent-topics', function () {
  return Topics.find({}, {sort: {createdAt: -1}, limit: 10});
});

Use correct field for sorting
Use correct field for sorting
