Update edgelist.hpp

Implementation of sort added