added reorder API  support for class  pathway