@SuppressWarnings("unchecked")
public class VRowComparator<T> implements Comparator {
@Override
public int compare(Object arg0, Object arg1) {
VoltTableRow r1 = (VoltTableRow)arg0;
VoltTableRow r2 = (VoltTableRow)arg1;
String r1d1 = (String) r1.get(0, VoltType.STRING);
String r1d2 = (String) r1.get(1, VoltType.STRING);
String r2d1 = (String) r2.get(0, VoltType.STRING);
String r2d2 = (String) r2.get(1, VoltType.STRING);
int r1d1_pos = Integer.valueOf(r1d1.substring(3));
int r1d2_pos = Integer.valueOf(r1d2.substring(3));
int r2d1_pos = Integer.valueOf(r2d1.substring(3));
int r2d2_pos = Integer.valueOf(r2d2.substring(3));