sort the commitindex of peers in descending order