Support passing in 'sort' as both a class property and as an option.

This fixes #2076. I feel like the tests I've written for this could be a little better. I'm open to suggestions!
Lodash doesn't have it either in current npm releases
On Nov 20, 2014 6:22 PM, "Sam Saccone" <notifications@github.com> wrote:

> In src/marionette.collectionview.js:
>
> > @@ -17,7 +17,9 @@ Marionette.CollectionView = Marionette.View.extend({
> >    // This will fallback onto appending childView's to the end.
> >    constructor: function(options){
> >      var initOptions = options || {};
> > -    this.sort = _.isUndefined(initOptions.sort) ? true : initOptions.sort;
> > +    if (_.isUndefined(this.sort)){
> > +      this.sort = _.isUndefined(initOptions.sort) ? true : initOptions.sort;
>
> heh i think it would be odd to do this.. better to just live with
> underscore :| or perhaps consider using lodash compat build
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/marionettejs/backbone.marionette/pull/2084/files#r20686059>
> .
>