Introduction, examples and visual explanations of standard algorithms for reordering elements in (sub-)ranges.