Natural order string comparison is a way of comparing strings "naturally". e.g. "somthing1" < "something2" < "something10" which does not follow alpabetically.
Alan Davies
gem "natcmp", "~> 1.4.1"