@Override
	public int compareTo(Variable var) {
		if (value instanceof String && var.getValue() instanceof String) {
			return ((String)value).compareTo((String)var.getValue());
		}
		if (value instanceof Double && var.getValue() instanceof Double) {
			return ((Double)value).compareTo((Double)var.getValue());
		}
		return 0;
	}