Per @JohnSUN's comment with the correct answer.
add an index
Rows of data can be sorted and resorted by any column (or combination).
If the table data does not have an explicit sort order tied to a column (or columns) of data, there is no way to sort table data based on an "original" order.
It is important to recognize this and avoid a situation where a particular sort order is wanted but there is no data on which to sort that will create it. This is quite common, for example some exported data ordered by order of entry but with only the date of entry provided. Multiple entries on the same day are displayed in the right order (order of entry) however once sorting the data there is no way to return the original sort as the dates of each entry on the same day give no additional info as to the order of entry.
The typical workaround is to simply add a helper column to your data prior to performing any actions that might change the order. This helper column (index) is typically numbered incrementally starting with 1 and increasing by 1 for each row of data.
In this way, sorting at any point in the future using this helper column will return your data to the order it was in when the helper column was first numbered.
There is no reason that you could not add additional helper columns to lock in other orders of data as you see fit.