A microfluidic device includes a particle sorting region having a first, second and third microfluidic channels, a first array of islands separating the first microfluidic channel from the second microfluidic channel, and a second array of islands separating the first microfluidic channel from the third microfluidic channel, in which the island arrays and the microfluidic channels are arranged so that a first fluid is extracted from the first microfluidic channel into the second microfluidic channel and a second fluid is extracted from the third microfluidic channel into the first microfluidic channel, and so that particles are transferred from the first fluid sample into the second fluid sample within the first microfluidic channel.