input: a csv file (must have row and column names) output: a csv file (same format as input) purpose: sorts rows so that items in neighboring rows have similar values (colors in the heatmap)