How do I keep the number in the right adjacent cell larger than the previous cell? The numbers are in military time. For example,

a1 b1 c1 d1
0800 1200 1300 1800


How can I make sure that a1<b1<c1<d1?