JSFiddle - React, Tailwind, and code Playground

by gedave

HTML

<div ng-app>
    <div ng-controller="FooController">
        <ul ng-repeat="item in items | orderBy:'date':true">
            <li>{{item.desc}} :: {{item.date}}</li>
        </ul>
    </div>
</div>

JavaScript

function FooController($scope) {
    $scope.items = [
        {desc: 'b', date: "12/19/2013 0:50"},
        {desc: 'c', date: "12/26/2013 15:10"},
        {desc: 'a', date: "01/02/2014 11:53"},
    ];
}