Test data displayed in the cells of a line of a table

Hi,

I have a table containing several lines of data. I’m trying with Katalon Recorder to check data defined for a selected line (data of an object defined with an ID) by using the definition with the xpath on the cell). Nevertheless the displayed of data for this line could be different if the table is sorted. Thus data tested would be incorrect.

Could you tell me how to check data of the desired line defined by the object ID ?
I don’t know if it’s possible to check the data displayed in function of the response from an http request (response in JSON format).

Thanks in advance for your help.

Could you help me to find the best methodolgy ?