Skip to content

alphabetical

Sorts an array of string in alphabetical order

Usage

alphabetical(["foo", "bar", "baz"], (item) => item); // ["bar", "baz", "foo"]

Installation

Terminal window
npx atmx add helper alphabetical