Exploring ordered patterns in the adjacency matrix for improving machine learning on complex networks