Filter and sort elements using data attributes
dataFilter.init({
filterclass: 'filter',
dataParent: 'dataParent',
sortAttr: 'data-sort'
});
dataFilter.init(options)
filterClass
the class used on buttons or links that are used to filter the datadataParent
the ID of the parent element which contains the data to filtersortAttr
the data attribute that is used to sort the items