If you are only looking to sort excel sheet table data using Graph API you can use TableSort resource type.
Use this POST /me/drive/items/{id}/workbook/worksheets/{id|name}/tables/{id|name}/sort/apply
Graph API along with the body to apply sort on table.
Please refer to this documentation for more details.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.