I have an InfoPath form with a drop-down-list, where the datasource is based on a sharepoint list. The listentries however seem to be random.
Is there any way to sort the data?
What version of InfoPath are you using. Check out this post on how to create a xml datasource connection to the SharePoint list. This is for InfoPath 2007. http://blogs.msdn.com/b/infopath/archive/2007/01/15/populating-form-data-from-sharepoint-list-views.aspx Sometimes this method could be blocked by IT.
I think list items sort by word order. By the way, a few days ago, I had the same problem and I solved like this:
Hope this helps.
Erben.