js: grade-school: split SortedList implementation into separate file

and include its license