cancel
Showing results for 
Search instead for 
Did you mean: 

sort internal table descending not working

vieet
Explorer
0 Kudos

I am facing strange scenario where sort is not working.

I have tried to use stable also still no luck. 

BEFORE SORT :

vieet_0-1713776680398.png

THIS IS THE CODE

vieet_1-1713776797330.png

With the above code 22100 should be at top. but it is taking second place.

vieet_2-1713776870298.png

Please someone help me what is going on . why it is not  placing bigger number 22100 on top ?

 

 

View Entire Topic
mnr_sap1
Discoverer

Hi ,

From the 3rd screenshot, I can see that Quantity is of type Character. Is this correct?