First integer sort minimum algorithm