No description
Find a file
2024-07-12 15:52:46 +08:00
.gitignore init 2024-06-24 23:15:31 +08:00
index.js style: update input prompt 2024-07-12 15:52:46 +08:00
package-lock.json chore: remove typescript 2024-07-12 15:18:00 +08:00
package.json chore: remove typescript 2024-07-12 15:18:00 +08:00
README.md chore: add readme 2024-07-12 15:39:41 +08:00

Group and Sort Array Items

Description

This utility takes a user input of numbers or strings, 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

  1. Navigate to the repository's root directory.
  2. Open terminal or command prompt.
  3. Run the following command to execute the code:
npm run index
  1. Follow the on-screen instructions to input the array items (strings or numbers or both!).