I dont know whats going on. The index, last and first are correct.
I tried to sort the array in javascript.

### Versions

@angular/core: 4.1.0
nativescript-angular: 3.1.3
typescript: 2.4.0

### Expected

```
1234

```

### Actual Result

```
2341

```

### Template

```
<Label
    *ngFor="let item of references; let i = index; let last = last;"
    [text]="item.Number"></Label>       

```

### Data

```
references = [  
   {  
      "NodeId":2259,
      "Number":1,
      "Details":"",
      "Url":""
   },
   {  
      "NodeId":7534,
      "Number":2,
      "Details":"",
      "Url":""
   },
   {  
      "NodeId":3585,
      "Number":3,
      "Details":"",
      "Url":"http://www.ncbi.nlm.nih.gov/pubmed/18489970"
   },
   {  
      "NodeId":7535,
      "Number":4,
      "Details":"",
      "Url":"http://www.ncbi.nlm.nih.gov/pubmed/9701682"
   }
]

```