https://en.tcheb.ru/sorting-mechanism/2/