Get Example source ABAP code based on a different SAP table
Internal Tables in ABAP Release 7.52 ITOC
ABAP_MODIFICATION_NN Virtual Sorting of Internal Tables>
The new method VIRTUAL_SORT> of class CL_ABAP_ITAB_UTILITIES>> enables virtual sorting of a set of internal tables with the same number of rows. The internal tables are handled internally like a single combined table containing all the columns of the involved internal tables. The result is an array of row numbers of the virtually sorted combined table. See the related executable examples >.