represent order with integer, changed output format