Permuting in place: analysis of two stopping rules. - Alois Panholzer; Helmut Prodinger; Marko Riedel (J. Algorithms, 2004)