This can be done with constructed lists. In the List Manager, create a new constructed list and set its parent to the list being used in Q1. Then give the constructed list these instructions:
If you rename the first question, be sure to update "Q1," of course.
You may want to test this code and verify that it handles tiebreaking in an acceptable way. If you need ties handled in a different way, it may be possible with some adjustments to the code.