public void doAction(){
    //*** have to check if it is sorted ************************************************************


      String[] oldShopList = GasDecisionProcess.getShopListCopy();      
      
      GasDecisionProcess.resetShopList(); //Set the ShopList to null  
      if (userChoice == 1) {
          DPHreader dphReader = DPHreader.getInstance();

          /* get the selected Gas type from the number 1 question's answer. */
          String selectedGas = new Q1_GasType(gasSAXManager).getGasType(Integer.parseInt(dphReader.readAnswer(GasDecisionProcess.getUserDPH(), 1)));
          
          //sort the ShopList based on the gas-price
          GasDecisionProcess.addToShopList(gasSAXManager.sortLowestGas(selectedGas, oldShopList));
          GasDecisionProcess.setSorted(true); //<-- Notify that the current data has been sorted.
      }else if (userChoice == 2) {
          GasDecisionProcess.addToShopList(gasSAXManager.sortShortestDistance(oldShopList));
          GasDecisionProcess.setSorted(true); //<-- Notify that the current data has been sorted.
      }

      GasDecisionProcess.addAnswerToDPH(Integer.toString(ID),String.valueOf(userChoice));
      GasDecisionProcess.setTaskStatus(GasDecisionProcess.TASK_DONE); 
       	  
      setNextQuestion();

  }