1.0.2 • Published 2 years ago

navyn_sort v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

navyn_sort

navyn_sort contains functions that help you to sort numbers in ascending order and alphabets in descending order easily

After installing and importing the package module you have access to two functions alphaSort and numSort

numSort

numSort receives a collection/an array of numbers and returns an arranged, in descending order version of that array. syntax:

var arranged = numSort(numCollection); console.log(arranged);

alphaSort

alphaSort receives a string and arranges its content in alphabetic order syntax:

var arranged = alphaSort(textString); console.log(arranged);


Have fun using navyn_sort package,and thanks for considering navyn_sort. and by the way navyn is a double anagram of my name Yvan.