JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="questionnaire">
  <div ng-controller="QuestionnaireCtrl">
      
    <div ng-repeat="q in questions | orderBy:'key'">
      {{q.question}}
    </div>
    
  </div>
</div>

JavaScript

(function(){
  var app = angular.module('questionnaire',[]);
  app.controller('QuestionnaireCtrl', function($scope){
      
    $scope.questions = [
        {question : 'First question' , key: 3},
        { question : 'Next question here',  key: 2},
        { question : 'Another one', key: 1 }
    ];
      
  });
})();