t by
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" uib-dropdown-menu>
                    <li>
                        <a ng-click="$vm.sortBy(['-flag', '-startDate'])">Newest first</a>
                    </li>
                    <li>
                        <a ng-click="$vm.sortBy(['-flag', '+startDate'])">Oldest first</a>
                    </li>
                    <li>
                        <a ng-click="$vm.sortBy(['-flag', '-sev