ctags-plugin: handle parent-children relation correctly

parent should come before children.