Simulation of movement of cells during self-sorting.