title: use grunt to concat ember files in proper order
body: <p>I am using Grunt to compile my javascript into one file.</p>
  
  <p>In my <code>Gruntfile.js</code> I have a concat method</p>
  
  <pre><code>concat: {
          libs: {
              src: [
                  'js/vendor/jquery-1.10.2.js',
                  'js/vendor/handlebars-1.1.2.js',
                  'js/vendor/bootstrap.js',
                  'js/vendor/ember-1.2.0.js',
                  'js/vendor/ember-data.js',
                  'js/vendor/ember-localstorage-adapter.js',
                  'js/vendor/moment.js'
              ],
              dest: 'js/libs.js'
          },
          app: {
              src:'js/app/**/*.js',
              dest:'js/app.js'
          }
      }
  </code></pre>
  
  <p>for my file structure that goes:</p>
  
  <pre><code>js
   | --app
        | --controllers
        | --models
        | --routes
        | --views
        | --app.js
        | --store.js
        | --router.js
    | --vendor
        | ...libraries etc.
  </code></pre>
  
  <p>When grunt concats my javascript files it makes <code>js/app.js</code>:</p>
  
  <pre><code>App = Ember.Application.create();
  
  App.Router.map(function(){
      this.resource('bookmarks');
  });
  
  App.Store = DS.LSAdapter;
  </code></pre>
  
  <p>How do I make sure the store gets loaded in <code>js/app.js</code> before the router, or does it matter?</p>