getSortedJsFileNamesInDir = async searchPattern => {
  const files = await globby(searchPattern);
  return files.map(file => path.basename(file)).sort(byStringAscendingSort);
}
Get sorted js files for the given directory

@param {string} searchPattern The globby search pattern
@returns {Promise<string[]>}