adding get_order_by_internal_id method