fixed the sorting, added symbolic icons to tree