This could be simplified with:
```ruby
network_connection_list.sort_by { |n| n[:NetworkConnectionIndex].to_i }
```