use angular's own sorting mechanism