Hi,
TRy below code.
sort IT_TEST_TABLE by pernr.
Loop at IT_PERNR into WA_PERNR.
read table IT_TEST_TABLE into WA_TAB with key pernr = wa_pernr-pernr binary search.
if sy-subrc = 0.
apppend WA_TAB to it_new_sort.
endif.
endloop.
IT_NEW_SORT will be in the order of IT_PERNR.
Regards
Sree