adds sorting to emps table(works in chrome)