Copying and sorting DNA

PCR doubles a chosen stretch of DNA with each cycle of heating and cooling, and gel electrophoresis sorts DNA fragments by size because the shorter ones move farther through the gel.

From Biology.