Combining left-to-right and right-to-left text in file titles

I’m trying to title a file “מְכַפְּתִין and εἰς ἅπαξ”—using LTR Latin and Greek characters as well as RTL Hebrew characters, but, try as I might, I can’t get it to enter in that way in the title text: whether I type it in full or try to copy-paste around it, it always comes out as “and εἰς ἅπαξ מְכַפְּתִין”. I can get “εἰς ἅπαξ and מְכַפְּתִין” to work, but it doesn’t match the flow of the section, and the writing direction format tool only seems to work on the text within the file, not on the file title. Any help?