WaniKani Review Algorithm/Routine

This script allows you to sort reviews by SRS level which I use to fix the issue you’re having too of many items appearing at random times.
I have the script disabled for general reviews and then when I review the items I’ve learned that day I set it to ascending SRS so I can target the apprentice 1 items specifically.
Might be other ways to do this but this has been working nicely for me!