format order class