Based on my testing, we can perform the steps below to sort your list in the
form.
1. In the forms tool, click Designer > Open Design Sandbox.
2. Highlight the view on which you can sort the columns. In Basic tab,
highlight the field which can be sorted. CLick Properties button.
3. In Sort tab, check Ascending and Descending. CLick OK, click Save. Click
Publish Sandbox.
Then in the view, you can click the column name to sort the records.