Bug 11773 java browsing: sorter for Members view
i'd like to be able to sort and filters things in package and type views (sorting more important)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/MembersView.java
protected boolean isValidInput(Object element) {
		if (element instanceof IType) {
			IType type= (IType)element;
			return type.isBinary() || type.getDeclaringType() == null;
		}
		return false;
	}
	
	/**
	 * Answers if the given <code>element</code> is a valid
	 * element for this part.
	 * 
	 * @param 	element	the object to test
	 * @return	<true> if the given element is a valid element
	 */
	protected boolean isValidElement(Object element) {
		if (element instanceof IMember)
			return super.isValidElement(((IMember)element).getDeclaringType());
		else if (element instanceof IImportContainer || element instanceof IImportDeclaration) {
			IJavaElement parent= ((IJavaElement)element).getParent();
			if (parent.getElementType() == IJavaElement.CLASS_FILE) {
				IType type;
				try {
					type= ((IClassFile)parent).getType();
				} catch (JavaModelException ex) {
					return false;
				}
				return isValidElement(type);
			}
			else if (parent.getElementType() == IJavaElement.COMPILATION_UNIT) {