Thank you for coming back and for performing the steps shared above. I also appreciate you for sharing the exact error you've encountered.
There are times that you'll notice odd behavior in your master names, Item, or Chart of Accounts list that can cause an error message that the lists in your QuickBooks Desktop have been damaged. To isolate this, I suggest resorting the Chart of accounts. This way, it makes your lists go back to their default order. That said, if you have manually edited the order of your list, re-sorting will undo these changes.
From the Lists menu, select Chart of Accounts.
Go to the Account drop-down arrow at the bottom.
Choose Resort List.
You'll be prompted with Are you sure you want to return this list to its original order? Click OK to confirm.
For additional information, you can refer to this article: Re-sort lists in QuickBooks Desktop. This also provides steps on how you can re-sort the master name list in QuickBooks.