Hi mguzzox,
We may need a few more details to provide the most accurate information. Are you referring to how your songs are sorted in the Music app? If so, make sure you're following the steps outlined here: View albums, playlists, and more in Music on iPhone.
Sort your music
1. Tap Library, then tap Playlists, Albums, Songs, TV & Movies, or Music Videos.
2. Tap Sort, then choose a sorting method, such as title, artist, recently added, or recently played.
Also, it's a good idea to make sure your iPhone is running the latest iOS version, since this can help with overall performance: Update your iPhone or iPad. If an update is available, be sure to create a backup before installing it.
Reply with some additional details if you need more help.
Regards.