SWAP_DATA meaning

Hi
in the DES_function.f, there is a function SWAP_Particle_DATA. What is the meaning of this function?

The function is used to switch the all particle information (id, physical properties, velocity, … ) between particle i and j, this is for sorting particle arrays.