@SuppressWarnings("unchecked")
	@Override
	public int compare(Column column, Row one, Row two) {
		Object oneObj = one.getData(column);
		Object twoObj = two.getData(column);
		if (!(oneObj instanceof String) && oneObj.getClass() == twoObj.getClass() && oneObj instanceof Comparable<?>) {
			return ((Comparable<Object>) oneObj).compareTo(twoObj);
		}
		return NumericComparator.caselessCompareStrings(one.getDataAsText(column), two.getDataAsText(column));
	}