I have an internal table
and i want to display it like this:
note that only a1's date is sorted descending. so im wondering if theres a method to only sort dates belong to a1 while leaving the others untouched.
I am a beginner so id appreciate if the answer is easy to understand


You can use the LOOP/GROUP approach to sort the table before sending it to the ALV (sample code only):
Reference: https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abaploop_at_itab_group_by.htm