There are mnemonic/memory forums on the internet where you can ask for help in formulating mnemonic devices for something you need to remember.
That being said, before you go that far, make sure you're not missing some underlying logic (that you might not yet understand about the ordering of those parameters). I realize that in Java for example, this kind of ordering can be very subtle and nonsensical to beginning Java developers, but there is usually a logic to it. This is where StackOverflow can help, or books like Thinking in Java by Bruce Eckel (for intermediate Java developers), or Head First: Java by Kathy Sierra (for beginners). Hopefully, there are similar highly rated books for the particular language you're trying to learn.
Also, I'd suggest you focus on learning the core builtin functions of your language that are the most useful for your work. Don't bother learning third-party apis that are likely to change in the future, or that are less likely to be consistent in their syntax. That's what the documentation is for.
That being said, I'd suggest you use Anki flash cards and spaced repetition to memorize and constantly review programming syntax. That's what I use. Just don't start copying vast amounts of flash cards from other people, or you will easily lose yourself in them. You'll need to create your own from scratch, based on your actual daily use and daily learning. That is the most effective way I found.
123.add()
andsubstract(123)
both built-in, but the syntax between operand and function is not interchangable, while both methods are (arithmetically) related.