Skip to Content
0
Former Member
Apr 05, 2015 at 04:11 AM

How to Sort Ascending by Multiple Fields?

10274 Views

Hi Guys,

Just want to ask something, I know its weird but Im having a problem with the sorting of internal tables with multiple selections or fields.Please see my code below:

SORT table BY fieldname ASCENDING

dates ASCENDING

times ASCENDING

begda ASCENDING

process_id ASCENDING.

There are 2 records. All fields have the same record except for process_id:

Fieldname date times begda process_id

field1 20140201 121222 20140201 000008

field1 20140201 121222 20140201 000005

I dont believe I should sort the process_id by descending right?

Please help! ๐Ÿ˜”

KR,

DF