prepare_latest_callback() should break after it found entry in sorted array with dnet_id->group_id and swapped it with the first one
array_result_holder should return vector of templated types, not ints