code: public void sortDeclarations(Element el, PseudoElementType pseudo)
      {
          List<Declaration> list = get(el, pseudo);
          if (list != null)
              Collections.sort(list);
      }
docs: Sorts the given list according to the rule specificity.
  @param el the element to which the list is assigned
  @param pseudo an optional pseudo-element or null