Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sort Stmt

Former Member
0 Likes
290

Hi Seshu,

i have on edoubt regarding sort stmt.

suppose i have written sort stmt like this..

Sort it by a1 a2 a3.....

how it sorts according to the fields??

explain ..pls.

regards,

1 REPLY 1
Read only

Former Member
0 Likes
272

I'm not Seshu...But I think I can answer as well -:)


Sort it by a1 a2 a3.....

You sort the Internal table first by field a1, then by a2 and so on...


a1 --> 5 4 2 2 8 9
a2 --> c b a e f g

Would end like...


a1 --> 2 2 4 5 8 9
a2 --> a e b c f g

Greetings,

Blag.