No description
| .gitignore | ||
| index.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
Group and Sort Array Items
Description
This utility takes a user input of numbers or strings (or both), groups them based on their value, and then sorts these group in order.
Table of Contents
Installation
To use the code in this repository, you need to have Node.js installed on your machine. Clone the repository to your local system using the following command:
git clone https://github.com/afiqzudinhadi/advanced-list-sort.git
Install the required dependencies by running the following command:
npm install
Usage
- Navigate to the repository's root directory.
- Open terminal or command prompt.
- Run the following command to execute the code:
npm run index
- Follow the on-screen instructions to input the array items (strings or numbers or both!).