Depth logging for ThreeStoogesSort.