Could also be:

```ruby
@ops = @ops.sort{|x,y| x.first <=> y.first } unless @options[:ordered]
```