sort in web worker