What you need to do if to give notification to the user like:
If(DataCardvalue1.SelectedDate>
DataCardvalue2.SelectedDate, Notify "StartDate should be equal or less Then EndDate")
Or you can highlight the date, so in the fill of the date;
If(DataCardvalue1.SelectedDate>
DataCardvalue2.SelectedDate,Red,White)
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.