SortByColumns(Search(AddColumns('TWT Production Output',"CrewMemberValue",CrewMember.Value),TextInput2.Text,"CrewMemberValue"),"Date",SortOrder.Descending).
This is my items formula for gallery. But employees can not search recent data by CrewmemberValue. because the app is taking first 2000 list items. So is there any formula to fetch latest 1000 items rather than items from beginning. Crewmember is a choice column in SharePoint. That is why I used 'AddColumns' property.