sort, filter and view options & css nesting/data-depth

added sorting/filter/view options.
added css and classes for nesting