public LinkedList<Stock> getCheapestStocks(int quantity){
	LinkedList<Stock> sorted = qs.qsort(stocks, 1);
	LinkedList<Stock> ret = new LinkedList<Stock>();

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

	for (int i = 0; i < quantity; i++)
	    ret.add(sorted.get(i));
	return ret;
    }