Fix saving primary flag for multi-value-attributes
make one link for sorting dependend on the current sort order
fix integration-tests (wip)