Ruby: How to sort a json response using array or hashmap
===

I am getting my json response and parsing it, I am able to get the following models and identifiers respectively (see below). 
Now, I need to sort them only by the model, case-insensitive. So if I create an array it becomes difficult, if not impossible, to sort only by model and if I do hash I will not be able to create duplicated keys (model).     
So what would be the best approach to sort this json response? thanks !!

     this is the model: 1 Series
      this is the identifier: Convertible
      this is the model: 1 Series
      this is the identifier: Coupe
      this is the model: 1 Series M
      this is the identifier: Coupe
      this is the model: 3 Series
      this is the identifier: Convertible
      this is the model: 3 Series
      this is the identifier: Coupe
      this is the model: 3 Series
      this is the identifier: Diesel
      this is the model: 3 Series
      this is the identifier: Sedan
      this is the model: 3 Series
      this is the identifier: Wagon
      this is the model: ALPINA B7
      this is the identifier: Sedan
      this is the model: ActiveHybrid 5
      this is the identifier: Sedan
      this is the model: ActiveHybrid 7
      this is the identifier: Sedan
      this is the model: ActiveHybrid X6
      this is the identifier: SUV
