├── .babelrc ├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ └── nodejs.yml ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .npmignore ├── .nvmrc ├── .nycrc ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── commitlint.config.js ├── eslint.config.mjs ├── package.json ├── rollup.config.mjs ├── src ├── index.ts ├── interfaces │ └── interfaces.ts ├── sort.ts ├── sortables │ ├── byAny.ts │ ├── byAsyncValue.ts │ ├── byBoolean.ts │ ├── byDate.ts │ ├── byNumber.ts │ ├── byString.ts │ ├── byValue.ts │ └── byValues.ts ├── types │ └── types.ts └── utils │ └── typeCheck.ts ├── test ├── byAny.spec.ts ├── byAsyncValue.spec.ts ├── byBoolean.spec.ts ├── byDate.spec.ts ├── byNumber.spec.ts ├── byString.spec.ts ├── byStringLowerCase.spec.ts ├── byValue.spec.ts ├── byValues.spec.ts └── utils │ ├── async.ts │ ├── date.ts │ ├── expectFns.ts │ └── sort.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 22 2 | -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.nycrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "test/**/*" 3 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interfaces/interfaces.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/interfaces/interfaces.ts -------------------------------------------------------------------------------- /src/sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sort.ts -------------------------------------------------------------------------------- /src/sortables/byAny.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byAny.ts -------------------------------------------------------------------------------- /src/sortables/byAsyncValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byAsyncValue.ts -------------------------------------------------------------------------------- /src/sortables/byBoolean.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byBoolean.ts -------------------------------------------------------------------------------- /src/sortables/byDate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byDate.ts -------------------------------------------------------------------------------- /src/sortables/byNumber.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byNumber.ts -------------------------------------------------------------------------------- /src/sortables/byString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byString.ts -------------------------------------------------------------------------------- /src/sortables/byValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byValue.ts -------------------------------------------------------------------------------- /src/sortables/byValues.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/sortables/byValues.ts -------------------------------------------------------------------------------- /src/types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/types/types.ts -------------------------------------------------------------------------------- /src/utils/typeCheck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/src/utils/typeCheck.ts -------------------------------------------------------------------------------- /test/byAny.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byAny.spec.ts -------------------------------------------------------------------------------- /test/byAsyncValue.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byAsyncValue.spec.ts -------------------------------------------------------------------------------- /test/byBoolean.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byBoolean.spec.ts -------------------------------------------------------------------------------- /test/byDate.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byDate.spec.ts -------------------------------------------------------------------------------- /test/byNumber.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byNumber.spec.ts -------------------------------------------------------------------------------- /test/byString.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byString.spec.ts -------------------------------------------------------------------------------- /test/byStringLowerCase.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byStringLowerCase.spec.ts -------------------------------------------------------------------------------- /test/byValue.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byValue.spec.ts -------------------------------------------------------------------------------- /test/byValues.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/byValues.spec.ts -------------------------------------------------------------------------------- /test/utils/async.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/utils/async.ts -------------------------------------------------------------------------------- /test/utils/date.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/utils/date.ts -------------------------------------------------------------------------------- /test/utils/expectFns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/utils/expectFns.ts -------------------------------------------------------------------------------- /test/utils/sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/test/utils/sort.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cosimochellini/sort-es/HEAD/yarn.lock --------------------------------------------------------------------------------