Hi Miguel,
Kishore has explained it beautifully.
Tip-
Code it and see -
TYPES : BEGIN OF ty_char,
record TYPE string,
END OF ty_char.
DATA : ls_char TYPE ty_char,
lt_char TYPE STANDARD TABLE OF ty_char.
ls_char-record = '00383E0000'.
APPEND ls_char TO lt_char.
ls_char-record = '0383E00196'.
APPEND ls_char TO lt_char.
ls_char-record = '0383045997'.
APPEND ls_char TO lt_char.
SORT lt_char.
For this part,
Case 2::
0383045997 <= 0383E00196
1st 2nd Result
0 0 Equal
3 3 ""
8 8 ""
3 3 ""
0 E Here E > 0 , should fail.
What it means is E>0 so it(String of 2nd in Case2) should be the largest and be at the bottom of sort.
Ask if not clear.
BR.