Ah fair enough, good call on the `#upcase` then.

I agree that `index_a <=> index_b` is nicer, and I don't see why you can't still do that:

```ruby
index_a = Encoding::EncodingMap[a.name.upcase][1]
index_b = Encoding::EncodingMap[b.name.upcase][1]
index_a <=> index_b
```