inline the implementation of TotalOrd for integers
auto merge of #5206 : thestinger/rust/cmp, r=brson

minor little performance issue - the vector and string implementations of TotalOrd turn out badly without explicitly inlining this