JSFiddle - React, Tailwind, and code Playground
HTML
<div data-ng-app="example">
<div data-ng-controller="orderByController">
<select data-ng-model="item" data-ng-options="item for item in items | orderBy:orderByValue"></select>
</div>
</div>
JavaScript
var module = angular.module("example", []);
module.controller("orderByController", function ($scope) {
$scope.orderByValue = function (value) {
return value;
};
$scope.items = ["c", "b", "a"];
$scope.item = "b";
});