Bug 130976 [Viewers] Error is calculation of parent path when calling TreePathViewerSorter
There is an error in the parent path calculation in AbstractTreeViewer#getSortedChildren. If the input of the viewer is passed, a tee path of length one is passed to the sorter but a null should be passed (as mentioned in the method spec). I will attach a patch.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
if (items[i].getData() != null) {
                        disassociate(items[i]);
                        items[i].dispose();
                    } else {
                        if (needDummy && !haveDummy) {
                            haveDummy = true;
                        } else {
                            items[i].dispose();
                        }
                    }
                }
                
                if (needDummy && !haveDummy) {
					newItem(ti, SWT.NULL, -1);
				}
                return;
            }
        }
        if (childElements.length > 0) {
        	
            Object[] filtered = filter(parentElementOrTreePath, childElements);
			ViewerSorter sorter = getSorter();
			if(sorter != null) {
				if (sorter instanceof TreePathViewerSorter) {
					TreePathViewerSorter tpvs = (TreePathViewerSorter) sorter;
					if (path == null) {
						path = internalGetSorterParentPath(widget, sorter);
					}
					tpvs.sort(this, path, filtered);
				} else {