Added sorting for the companies activity table.