Bug 5165 package viewer project sorting
i have a (library) project Refactoring Tests Resources and other projects org.eclipse.... before 205 they used to be sorted alphabetically now they're not. is that intentional?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/JavaElementSorter.java
return Flags.isStatic(flags) ? STATIC_INIT : INIT;
					}
					
					case IJavaElement.TYPE: {
						if (((IType)element).getDeclaringType() != null) {
							return INNER_TYPES;
						} else {
							return CU_MEMBERS;
						}
					}
					case IJavaElement.PACKAGE_DECLARATION:
						return CU_MEMBERS;
					case IJavaElement.IMPORT_CONTAINER:
						return CU_MEMBERS;
					case IJavaElement.PACKAGE_FRAGMENT:
						IPackageFragment pack= (IPackageFragment) je;
						if (!pack.hasChildren() && pack.getNonJavaResources().length > 0) {
							return RESOURCEPACKAGES;
						}
						if (pack.getParent().getUnderlyingResource() instanceof IProject) {
							return PACKAGEFRAGMENTROOT;
						}
						
						break;
					case IJavaElement.PACKAGE_FRAGMENT_ROOT:
						return PACKAGEFRAGMENTROOT;
				}
			
			} catch (JavaModelException x) {
				JavaPlugin.log(x);