normalizeData: Normalize data according to a canonical order
Description
Pairwise comparison data are not commutative.
Alice beating Bob in chess is equivalent to Bob losing to
Alice. normalizeData assigns an arbitrary order to all
vertices and reorders vertices column-wise to match,
flipping signs as needed.