public void AddFilterMode(ListMode newFilterMode)
 {
     filterDropdown.NewSelected(newFilterMode);
     filters.Add(newFilterMode);
     if (filters.Count > 1)
     {
         filterDropdown.titleText.text = "Multiple";
     }
     else
     {
         filterDropdown.titleText.text = newFilterMode.mode;
     }
 }
 public void SetSortMode(ListMode newSortMode)
 {
     //print("Setting sort mode to " + newSortMode.mode);
     sortMode          = newSortMode;
     sortMode.selected = true;
     sortByDropdown.NewSelected(sortMode);
     sortByDropdown.CloseDropdown();
     sortByDropdown.titleText.text = newSortMode.mode;
     CreateList();
 }