added a new iact_pair_direct_sorted which uses local copies of the sorted particles. tested for correctness, not yet for speed.