while (more stacks to sort) {
move tallest stack all the way to the east (past a gap)
shift the stacks to eliminate the gap where the tallest was
}
shift the sorted stacks up against the west wall