How to select values in an attribute table and rank them?

Discussion created by dangsta on Feb 26, 2014
Hi there,

I have a simple task which I am trying to achieve but can't seem to get my head around it.

I have a feature layer containing fields: 1) District type and 2) Total Score, for each pit.

Each pit lies within one district. I want to select the entirel pits each district and then rank each pit to see which is most desirable based on the scores.

I assume there would be a python code which I can paste onto the field calculator and it would rank the selected values but can't find any online.

Can anyone help?

Thanks in advance