Final MatrixSorter