Geissmann BLeucci SLiu C.-HPenna P.CHIH-HUNG LIU2022-11-112022-11-11201718688969https://www.scopus.com/inward/record.uri?eid=2-s2.0-85038582404&doi=10.4230%2fLIPIcs.ISAAC.2017.38&partnerID=40&md5=49ce5a919d2fc43f23cf93180d0b9303https://scholars.lib.ntu.edu.tw/handle/123456789/624642We present a sorting algorithm for the case of recurrent random comparison errors. The algorithm essentially achieves simultaneously good properties of previous algorithms for sorting n distinct elements in this model. In particular, it runs in O(n2) time, the maximum dislocation of the elements in the output is O(log n), while the total dislocation is O(n). These guarantees are the best possible since we prove that even randomized algorithms cannot achieve o(log n) maximum dislocation with high probability, or o(n) total dislocation in expectation, regardless of their running time.Maximum and total dislocation; Recurrent comparison error; SortingErrors; Sorting; Distinct elements; High probability; Randomized Algorithms; Running time; Sorting algorithm; Random errorsSorting with recurrent comparison errorsconference paper10.4230/LIPIcs.ISAAC.2017.382-s2.0-85038582404