Turn on sort order in SharePoint online

If you want to have sort order turned on for a column put this in the JSON section.

[{“name”:”First name (A-Z)”,”sorts”:[{“p”:”FirstName”,”d”:0}]},{“name”:”First name (Z-A)”,”sorts”:[{“p”:”FirstName”,”d”:1}]}]