persists sorting to server