I just use a simplemnemonic trick. The best way is to learn an order, any order , even if it makes no sense, but the order you put them in must get a meaning
Mine is no - so - tsu - n - shi.
Strokes : 0 -1 - 2 - 1 - 2. 0-1-2-1-2 is really fast to say on your mind. Then just remember which way were the strokes , Horz, then vert ? or Vert than Horz....
Up, Up, down, down, left, right, left, right, B, A, Start. Now you know which is which