This content has been marked as final. Show 4 replies
First, you have no control overthe order that the HTTPService results return.
You are building an array, so why not just sort that array?
You will need to use a sort function, because dates in your format are not sortable.
I open files in the chronological order. Data in a file too are sorted on time. As a matter of fact all should be and so is sorted.
ntsii is totally right.
Calling httpservice send is a async operation, which means you don´t know when the result event of such operation will return.
You can also sort your grid after a xml data file was loaded.
At least it would guarantee that the entries appear in the right order.
Yes likely you are right. Thanks for the help. I shall go to correct a code.