Having a similar problem with “reduced number of results” when adding sorting.
The only difference between these two queries is the orderasc:year. Yet, they are producing different number of results. What could be the cause?
{
example( func: eq(cube,"cube2022", "cube2023"), orderasc:year )
@cascade {
cube
year
country @filter( eq(code, "SWE")){
code
}
}
}

