auxiliary algorithms needed to implement sort