no i dont think thatll work because thatll do the comparison in this order
$a[0][0] - $a[1][0]
$a[0][0] - $a[1][1]
$a[0][0] - $a[1][2]
i need it to go like
$a[0][0] - $a[1][0]
$a[0][0] - $a[2][0]
$a[1][0] - $a[2][0]
$a[0][0] - $a[1][0]
$a[0][0] - $a[2][1]
$a[1][0] - $a[2][1]
$a[0][0] - $a[1][0]
$a[0][0] - $a[2][2]
$a[1][0] - $a[2][2]
$a[0][0] - $a[1][1]
$a[0][0] - $a[2][0]
$a[1][1] - $a[2][0]
$a[0][0] - $a[1][1]
$a[0][0] - $a[2][1]
$a[1][1] - $a[2][1]
this is so frickin confusing....