code: function(attr) {
  			// Create the sort function
  			var sortFn;
  
  			// CASE: Simple ascending sort
  			if (attr == null) {
  				sortFn = function(a, b) { return a - b; };
  			}
  			// CASE: Simple descending sort
  			else if (attr === true) {
  				sortFn = function(a, b) { return b - a; };
  			}
  			// CASE: Sort by an attribute
  			else if (typeof attr === 'string') {
  				sortFn = function(a, b) { return a[attr] - b[attr]; };
  			}
  			// CASE: Sort by a function
  			else {
  				sortFn = attr;
  			}
  
  			this.arr = this.arr.sort(sortFn);
  
  			return this;
  		}
docs: Sorts the internal array, optionally by an attribute.  attr - The attribute of the JSON object to sort by. (Optional.)  Returns nothing.