Reorder builds based by ordering.