when sorting ns, ignore "(" or "[" prefixes on elements