Ranking choice dynamically determined by the options selected in the previous select multiple question

Here another previous discussion and example:
https://community.kobotoolbox.org/t/creating-ranking-questions-from-a-select-one-question-choices/37560