I've got an table that looks something like this:
product | price | currency
prod1 | 15 | USD
prod2 | 20 | EUR
prod3 | 89 | GBP
prod4 | 11 | USD
I extract these from the table and then converts them all to EUR, but how do I sort them from low to high (or vv)?
Any code-examples are welcome... ;-)
//N!cklas
product | price | currency
prod1 | 15 | USD
prod2 | 20 | EUR
prod3 | 89 | GBP
prod4 | 11 | USD
I extract these from the table and then converts them all to EUR, but how do I sort them from low to high (or vv)?
Any code-examples are welcome... ;-)
//N!cklas