Added CSV data sorting algos by variable and connectivity.