Describe the issue:
- Please include any relevant error messages, screenshots, and troubleshooting you’ve already tried.
I am trying to sort a list of entries by their position on Dato; the issue is that the position displayed on the CMS is different from the position I get whenever I do the graphql query (see screenshots).
(Optional) Can you provide a link to the item, model, or project in question?
- If you’re concerned about privacy, you can also email us at support@datocms.com.
(Optional) Do you have any sample code you can provide?
{
allDatoCmsCancerLeadership(
sort: { fields: position, order: ASC }
filter: { meta: { status: { eq: "published" } } }
) {
edges {
node {
slug
position
roleTitle
credentials
id
fullName
portrait {
gatsbyImageData(width: 64)
}
meta {
status
}
}
}
}
}
- A minimal reproducible example would be best, but anything you can provide (a snippet, public repo, etc.) would be helpful.