coerce bigdecimal to integer, orders ordered correctly