You can save sort settings for BOM tables with the Save current sort settings option in the Sort dialog box.
The sort settings are saved with the BOM so that you can reapply the saved sort settings without having to reselect them each time. The saved sort settings are also saved with the BOM template, which lets you propagate the sorting order across all drawings that use the same template.