Yeah sure go to the OnSuccess Property of the form itself and add a navigate function to your home screen there.
OnSuccess of form -> Naviagte(HomeScreen)
Also here is what I did to get the sort you wanted to work for me:
Screen's OnVisible property: ForAll(Distinct(Test,FirstName) As record, Collect(topIndex, LookUp(Sort(Test, order, SortOrder.Descending), FirstName = record.Value)))
Gallery's Items property: topIndex
What this is doing is running a forall function over every distinct name in my SP List. In this forall function I am collecting the highest indexed item to a local collection for each person. At the end all we are left with is the top index for each unique user. This will have to be modified slightly to work in your app but I have tested this on my end and it works very well.
Here is the gallery populated with the code above. This can be compared to the SP list below to validate results.

This is the SP list data that I am using to test this solution. Yours will be different obviously but this should help you see what I did with the code.

EDIT: I posted this as an answer to another question here in this thred. Sorry for the confusion!! @Adinator im sure you were wonder wth is this guy talking about lol 😂 sorry about that!