title: Meteor collection updated from server, not getting sorted reactively on client
body: <p>In my meteor project i have a collection where i put some logs and i want to display the latest added log from server on the client always first in the list.</p>
  
  <p>My log collection is subscribed in <code>autorun</code>, to control the number of the logs loaded by the limit:</p>
  
  <pre><code>Template.statistics.onCreated(function(){
   instance.autorun(function () {
  
           var instance = this;
  
          instance.limitLogs = new ReactiveVar(20);
          instance.loadedLogs = new ReactiveVar(0);
  
  
          var limitLogs = instance.limitLogs.get();
          var subscriptionLogs = instance.subscribe("logs_list",limitLogs);
  
  
          // if subscription is ready, set limit to newLimit
          if (subscriptionLogs.ready()) {
  
              instance.loadedLogs.set(limitLogs);
          } else {
              console.log("&gt; Subscription logs is not ready yet. \n\n");
          }
  
      });
      instance.getLogsList = function(){
  
          return logsList.find();
      };
  
  });
  
  Template.statistics.helpers({
       hasMoreLogs: function () {
       return Template.instance().getLogsList().count() &gt;= Template.instance().limitLogs.get();
      } ,
      logs : function(){
             return Template.instance().getLogsList();
  
      }
  
  });
  </code></pre>
  
  <p>On the server i have:</p>
  
  <pre><code> Meteor.publish("logs_list",function(limit) {
          return  logsList.find({},{sort: {createdAt: -1}},{limit: limit});
      });
  </code></pre>
  
  <p>And in my <code>collection.js</code> in the <code>lib</code> folder i have:</p>
  
  <pre><code>logsList = new Mongo.Collection('logsList');
  </code></pre>
  
  <p>So i have some server code which runs in as job, in <code>JobCollection</code>, from this server method i call another server method which inserts data in logs:</p>
  
  <pre><code>Meteor.Methods({
   logTask : function(taskId,message,status){
              logsList.insert({
                      jobID : taskId,
                      message : message,
                      status : status,
                      createdAt : new Date()
                  }
              );
          } 
  });
  
  //... somewhere in job worker
    Meteor.call("logTask", job._doc._id, "something", "failed");
  </code></pre>
  
  <p>Whenever i insert logs from that job worker using my <code>logTask</code> server method, i see a new entry on the client in my logs table, but it's not getting sorted by <code>createdAt</code>, Hovewer if i update the page, i see that the logs collection is getting ordered as expected. </p>
  
  <p>Like so:</p>
  
  <p>before page reload:</p>
  
  <pre><code>message1    Wed Feb 24 2016 07:30:52 GMT+0200
  message2    Wed Feb 24 2016 07:36:52 GMT+0200
  </code></pre>
  
  <p>after page reload:</p>
  
  <pre><code>message2    Wed Feb 24 2016 07:36:52 GMT+0200
  message1    Wed Feb 24 2016 07:30:52 GMT+0200
  </code></pre>
  
  <p>Should the collection be somehow aggregated after insertion to make it re-order on the client?</p>