Hi Juliano,A one way to do it would be through creating a RDBMS view on top of the Feature Class and specify Order Clause on it. On the other hand, it might require some SDE skills. It also will not be dynamic enough, shell you decide to change sorting depending on the client requests.On the other hand, I just discovered that there is a way to pass 3D input locations even to the 10.0 NAServer REST endpoint: to do it you need to pass X, Y, Z attributes on the Stops (you do not even have to specify "geometry" part), e.g.:{
"features" : [
{
"attributes" : {"X":481903.591, "Y":3768558.745, "Z":0}
},
{
"attributes" : {"X":481849.220, "Y":3768533.156, "Z":9}
},
{
"attributes" : {"X":481883.752, "Y":3768450.258, "Z":4.5}
}
]
Hope this will help,Dmitry