Get Example source ABAP code based on a different SAP table
Internal Tables in ABAP Release 7.67 ITOC
ABAP_MODIFICATION_NN Virtual Sorting of Internal Tables>
The new method VIRTUAL_SORT> of class CL_ABAP_ITAB_UTILITIES>> enables virtual sorts on a set of internal tables with the same number of lines. Internally, the internal tables are considered like a single combined table that contains all columns of the internal tables involved. The result is an array of line numbers of the virtually sorted combined table. See the respective executable examples>.