You have to switch to Structure mode from Design mode
In Edit Sort Order popup → Click on + Add → Then choose the sorting attribute.
The Edit Sort Order popup not appear in my screen
I believe you’re using design mode while implementing the sort order. Please use structure mode so that you can see all the functionalities of the listview and you can add sort order attribute on the listview accordingly.
Hope it get’s resolved soon.