sort resource list by name
bugfix pre-nesting levels to data