Comparison and Arrangement of Integers