def GemsByCount(gems, reverse=False):
	"""Returns a list of GemTypes from lowest to highest count."""
	gem_types = gems.keys()
	gem_types.sort(key=lambda k: gems[k], reverse=reverse)
	return gem_types