How to arrange node in order?

I am trying to position the nodes in the order without using the “pos” argument. The syntax i am using for generating the subgraph is as
Follows:
ranksep=0.7
subgraph cluster {
label=p
labelloc=t
{
rank=same
“A”
“B”
“C”
}
}

And getting this output:

I am expecting to get the output in this order

Please include all the text of your graph file.
But yes, this is a real problem. I think there are outstanding issues in this space.
Sometimes it helps to list the nodes in the reverse order you want them to appear - B C A in this case.