sorting kinda works. weird empty ng-repeat divs occurs.