Riptide needs to be played alternately with both hands quickly, and it needs to keep the rhythm stable and the content compact while comparing the strength; Moonlight is a little less compact and easier to handle.
Both pieces are tests of scales and arpeggios, with a large span, but the technical difficulty of torrent is higher, and higher technology is needed to compare the strengths and weaknesses.