I have created a table with firstname and surname and sorted the table by surname

When I create the form I sorts the data by surname but when I add data into the table and go back to the form, its not ordered

Is there a way to sort the data by surname in the form without recreating the form everytime.