code: function sortitem()
  {
    var self = this;
    
    /* ATTRIBUTES */
    
    /* passed html title binding */
    this.title = "";
    
    /* passed active item binding */
    this.active = false;
    
    /* passed onsort method to be used when clicked */
    this.onSort = function(){};
    
    /* toggles class based on this.active */
    this.filters.activeText = function(v)
    {
      return (v ? 'active' : 'inactive');
    }
    
    /* the actual click event */
    this.sortClick = function(e)
    {
      self.onSort(self.title);
    };
  }
docs: *******************************
  sortitem
  Created by keleko34
  a button used for sorting the list
  ******************************