You can use the Save Table Data action to extract the data from tables. This will automatically sort the data per column or heading.
You may customize the headings to your liking. Ensure that you name all of them to avoid missing data.
Give it a try with this sample task: https://app.browserbear.com/share/AEN6kagOQEGOPxZGbl