An algorithm for identifying symmetric variables based on the order eigenvalue matrix