add config to class tag
filter and sorting by classtemplate work