sort in join_status

the hash order may be different, at least it is in perl 5.18 than in 5.8
and 5.12