Update rankall.R

rankall in current form