update each ipv for en sort functions anders