Gets the filter selects half working, by joining the array of classes.
Gets sorting working.