more team page updates: sorting, saving, updated table to store dept sorting + req js