Not able to sort purchase receipt item in purchase receipt

I tested with customized forms with sort_field item_code in the purchase receipt item list but was unable to sort that list. is there any other solution to sort the item list? its a child entity

already tried this link :- Sorting Order in List View