Used enumerate()

per @utkarshkukreti's suggestion (thanks! Good catch!)
also changed from match to a simple `let (i,&SortIndex{x,y}) = t_ind`, as it's an irrefutable pattern.
You can move the pattern into the `for` too :)

```
for (i, &SortIndex{x, y}) in l.iter().enumerate()
```