Adding sorting to companies table