Shopify Functions: Are hasTags and inCollections guaranteed to be in order?

Hi there,

If hasTags and inCollections are guaranteed to be in the order of their inputs, then this means we can reduce our input query complexity by not having to query hasTags.tag and inCollections.collectionId.

Does anyone know if this is the case? If not, can the Functions API docs be updated to mention this?

Thanks,

Tobe