Asking here for non-Hubitat users. I have the playlist below loaded into a string array. I want to add this song to the array.
/storage/25D7-6534/Entire Music Collection/AC DC - Back In Black.mp3
I have considered an insertion-sort. But I could just add the string as the first/last array item and sort the array. Any suggestions on how to sort a string array?
Playlist
/storage/25D7-6534/Entire Music Collection/10,000 Maniacs - These Are Days.mp3
/storage/25D7-6534/Entire Music Collection/5 Seconds of Summer - Amnesia.mp3
/storage/25D7-6534/Entire Music Collection/A Rocket To The Moon - Like We Used To.mp3
/storage/25D7-6534/Entire Music Collection/Air Supply - All Out Of Love.mp3
/storage/25D7-6534/Entire Music Collection/Air Supply - Even The Nights Are Better.mp3
/storage/25D7-6534/Entire Music Collection/Air Supply - Lost In Love.mp3
/storage/25D7-6534/Entire Music Collection/Air Supply - Making Love (Out Of Nothing At All).mp3
/storage/25D7-6534/Entire Music Collection/Alabama - Feels So Right.mp3
/storage/25D7-6534/Entire Music Collection/Andy Gibb - (Our Love) Don’t Throw It All Away.mp3
/storage/25D7-6534/Entire Music Collection/Anna Nalick - Breathe.mp3
/storage/25D7-6534/Entire Music Collection/April Wine - Just Between You And Me.mp3
/storage/25D7-6534/Entire Music Collection/A-Teens - Heartbreak Lullaby.mp3
/storage/25D7-6534/Entire Music Collection/A-Teens - Sugar Rush.mp3
/storage/25D7-6534/Entire Music Collection/Aurora - Dreaming.mp3