Is it a good practice to sort an internal table (which is already sorted based on three fields) based on one field for the purpose of read table using binary search?
for example:
SORT itab by field1 field2 field3.
READ TABLE itab WITH KEY field1 = 'X'
field2 = 'Y'
field3 = 'Z' BINARY SEARCH.
SORT itab by field1.
READ TABLE itab WITH KEY field1 = 'X' BINARY SEARCH.
Is it okay if I sort the internal table once again based on field1 to serve for the purpose of second read table statement?