Update sortLibraries.js