How to change the sequence in which devices are listed

Is there a way to change the sequence in which devices are listed by default?
I have a lot of devices and I’d like to list them in a more logical way.
I notice that the default sequence matches the list of records in the database.db json file.

Click on the column titles.