Implemented an option to choose direction of Edge-list ordering.