In my view I am doing this:
<div ng-repeat="item in items">
{{item.some_key}}
</div>
some_key variable has only 3 type of string output: "unsafe", "elevated" and "trace". I want to order output of items in this order: first all items which have unsafe, then "elevated" and at the end "trace" ... I can't do this in a simple orderBy filter ... How to achieve this?
Thanks for a help in advance!