[PATCH OLK-6.6 4/7] lib/xarray: introduce a new helper xas_get_order