@andrewilley the point here is that playlists get created with 1,2,3 appended to the name. the sorting for these strings does not follow numeric sorting rules hence my solution to sort by creation time. This way they will always be in the exptected order in my app Music Playlist Manager. However, viewed in Poweramp they will show as the sorted example
for example
playlist 1
playlist 2
playlist 3
playlist 4
playlist 5
playlist 6
playlist 7
playlist 8
playlist 9
playlist10
playlist 11
when sorted gives
playlist 1
playlist 10
playlist 11
playlist 2
playlist 3
playlist 4
playlist 5
etc