Ever just wanted to shuffle your Ember model contents around in a random way? Well, here's something I happened to discover while perusing through the Liquid-fire github. This is such a real jewel, so elegant and simple that I had to share it.
shuffle: function() { this.get('model').forEach((item) => { item._random = Math.random(); }); this.set('model', this.get('model').sortBy('_random')); }