Widgets / PrivilegesPanel / Sort internal group on top (#282). Also fix issue when reopening the stateful grid.