I have got the code for implementing matrix style for displaying the data(you can see it in the output).
In the inputFlight(Array) the order of the data coming from the XML(which is filtered by finalPricePerPerson) is perfect.
but when it comes to finalFlight(HashMap) for some iterations the order is coming perfect and later the order in the finalFlight(HashMap) is changing. How to resolve this problem. I need the data in the order of price,
In the final output the order is coming uneven. I need it in the order based on price.
Please someone help me out.