I am trying to request to get the Component Presentations on a Page by firing query in GraphQL
{
page(namespaceId: 1, publicationId: 7, pageId: 730)
{
itemId
title
url
creationDate
containerItems {
... on ComponentPresentation {
itemId
component {
title
multiMedia
}
componentTemplate {
title
}
}
}
}
}
Lets say in SDL the component list names are NewsArticle, Article, SportArticle. I need to get in the same order in GraphQL. Instead of that, I am getting data in some order which is not the same as the Component Presentations list.
Any idea what is missing here or any area which I need to look at?