code: function tryGetName(node) {
              if (node.kind === 225 /* ModuleDeclaration */) {
                  return getModuleName(node);
              }
              var decl = node;
              if (decl.name) {
                  return ts.getPropertyNameForPropertyNameNode(decl.name);
              }
              switch (node.kind) {
                  case 179 /* FunctionExpression */:
                  case 180 /* ArrowFunction */:
                  case 192 /* ClassExpression */:
                      return getFunctionOrClassName(node);
                  case 279 /* JSDocTypedefTag */:
                      return getJSDocTypedefTagName(node);
                  default:
                      return undefined;
              }
          }
docs: This differs from getItemName because this is just used for sorting.
  We only sort nodes by name that have a more-or-less "direct" name, as opposed to `new()` and the like.
  So `new()` can still come before an `aardvark` method.