Which activity should be used inside a Use Excel File scope to be able to sort a table directly in an '.xlsx' file?
AnswerD
ExplanationWithin a 'Use Excel File' scope, the 'Sort Range' activity should be used to sort a table directly in an '.xlsx' file. This activity allows you to specify the range to sort, the field to sort by, and the sort order. The 'Sort Data Table' activity (option B) operates on DataTable objects in memory and does not interact directly with Excel files.
UiPath Activities Guide: Sort Range