<tr ng-repeat="activity in activities"
    ng-click="initiate($event, activity.entityObj, activity.issue)">
    <td>
        <div class="update-head">
            <div class="title icon {{activity.issue}}">{{activity.entityObj.title}}</div>
            <div class="parent"
                 ng-style="{'background-color': '#' + activity.parentColor, 'color': 'white'}"
                 ng-init="getParent(activity)">
                {{activity.parent}}
            </div>
        </div>
        <div class="update-body">
            <div icu-avatar user="activity.creator"></div>
            <div class="update-content">
                <div class="update-info">
                    <div class="update-action">{{getActivityDescription(activity)}}</div>
                    <div class="update-date">{{formatDate(activity.created)}}</div>
                </div>
                <div class="update-data">{{activity.status}}</div>
            </div>
        </div>
    </td>
</tr>

<tr ng-repeat="activity in activities | orderBy: 'created': true"
    ng-click="initiate($event, activity.entityObj, activity.issue)">
    <td>
        <div class="update-head">
            <div class="title icon {{activity.issue}}">{{activity.entityObj.title}}</div>
            <div class="parent"
                 ng-style="{'background-color': '#' + activity.parentColor, 'color': 'white'}"
                 ng-init="getParent(activity)">
                {{activity.parent}}
            </div>
        </div>
        <div class="update-body">
            <div icu-avatar user="activity.creator"></div>
            <div class="update-content">
                <div class="update-info">
                    <div class="update-action">{{getActivityDescription(activity)}}</div>
                    <div class="update-date">{{formatDate(activity.created)}}</div>
                </div>
                <div class="update-data">{{activity.status}}</div>
            </div>
        </div>
    </td>
</tr>

Sort inbox messages by creation date, descending
Sort inbox messages by creation date, descending
