3-way integer sort added