Update sorterService.js