I don't know much about Perl so I have no idea how feasable this might be, but what about a mode where you might "drag and drop" notes into an export bucket, and then have it generate a text file based on the order of placement in said bucket?