asyncio sleep sort Sleep sort is an intentionally horrible sorting algorithm that typically uses threads or processes to sleep for an amount of time equal to each input value. This version uses Python 3's single-threaded concurrent capabilities.