public LinkedList<Stock> getExpensiveStocks(int quantity){
	LinkedList<Stock> sorted = qs.qsort(stocks, 1); // sort by price
	LinkedList<Stock> ret = new LinkedList<Stock>();

	if (quantity > sorted.size())
	    quantity = sorted.size();

	for (int i = sorted.size() - 1; i >= sorted.size() - quantity; i--)
	    ret.add(sorted.get(i));
	return ret;
    }