title: Backbone best way to filter models by rating
body: <p>I would like to add an improvement to a currenct filter of mine which takes a collection and filters it by rating (1/2/3/4/5).</p>
  
  <p>At the moment it can only filter by one of these (1/2/3/4/5) numbers but I would like to filter using all of them or part of them together. sorting doesn't matter.</p>
  
  <pre><code> filter_by_rating: function(rating) {
      var filtered;
      if (!!rating &amp;&amp; rating !== '') {
        filtered = this.filter(function(model) {
            return model.get("rating") &gt;= parseInt(rating) &amp;&amp; model.get("rating") &lt;= parseInt(rating) + 0.5;
        });
        return new Collection(filtered);
      } else {
  
      }
   return this;
   }
  </code></pre>
  
  <p>If in the current function it accepts only one number , I would like to pass a string of numbers , for example: "3,4,5" and it should filter and bring only the models with the rating of 3 4 and 5</p>
  
  <p>Also, if I have in the array the numbers ["3","4","5"] I would it to filter also "3.5", "4.5"</p>