rankall.R ver 1.0
rankall.R
states in sorted order