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 a list

Former Member
0 Likes
495

Guys,  I need your help for sort this list in ABAP  ,  I have the following set of data

10000

10010

1000

100

10

1

1001

100

10

1

What I really need is :

10000

1000

100

10

1

10010

1001

100

10

1

The problem is if I use Sort I got this :

1

1

10

10

100

100

1000

10000

1001

10010

Which is not very useful , any advice to solve this with ABAP  ?  Thank you very much for your help.

4 REPLIES 4
Read only

Former Member
0 Likes
459

Hi

Perhaps you need an additional field for sorting, are they binary numbers?

Max

Read only

0 Likes
459

Hi Max, thanks ... they are not binary numbers , they are sets from table setnode.

  

Read only

0 Likes
459

Hi

So I think you need to use an additional field for sorting, but it depends on the logic you need for sorting

Max

Read only

Former Member