My point is more so around, why make the assumption that these things are integers and just rely on string comparisons instead? I'd have to ensure I parse both to integers, then do the comparison just like I am doing for strings now on both.