BUG: Fix to_datetime not respecting dayfirst 
- [x] closes #58859
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Ah, I guess the dateutil path was not being used here. The formatting makes it seem like I made a lot of changes but essentially I just added an `if not dayfirst` check before using `string_to_dts` per your suggestion. The test fails if I revert the changes in `parsing.pyx`, I believe this is the line of code in the test that hits the changes:
https://github.com/pandas-dev/pandas/blob/4c275301f620105cb2a9b944a815f3e85e1f2bd5/pandas/tests/tools/test_to_datetime.py#L3044-L3046

 Thanks @Aloqeely 