royal-rumble
A npm module to sort royal name.
Instalation
Avalilable in npm, use this command to instalation
yarn add royal-rumble
or
npm install royal-rumble
Documentations
Sorting royal names
import { royalRumble } from "royal-rumble"
const royalNames = ["Ali V", "Bangi II", "Robert III", "Stannis II", "Cersei IX"]
const sortedRoyalNames = royalRumble(royalNames)