node >= 18
git clone https://github.com/KR1470R/mbunity-test-task.git
2. drop .json files with unsorted nodes to ./input/
(you can test multiply files at once, the program will fetch and test them all)
node ./solution/main.js