Playlist (m3u) Export WITHOUT the music files

I am new user and would have to agree having the ability to export a playlist to m3u is important. Let’s say I create 20 playlists, all files locally on my home server. What’s happens if I don’t want to use Roon anymore? How do I get my curated playlists out? Having the ability to m3u would help. I found a work around to export to excel, then copy path to a notepad file and save it as m3u. However this approach messes up the order in which the files are ordered in the playlist. Using m3u files is how I initially imported some already created playlists from another program.