merged sort and master
added test using mocha library
test working for LEECHERS, need to fix for loop
made self calling function to properly loop through the sort types