Is there a way to restore the original sorting in a Numbers table?

The simplest way is 'undo' i.e. ⌘+Z until you reach the desired (previous) state. 'Undo' applies to anything what is 'done' in a file, so pending on how many changes are made it may be lot of undoing.