Basic integer sorting polished and finished.