[JS] - Sorting added