use index_order consistently