Added a webworker for sorting