I am attempting to write a script that takes one field and sorts it from largest to smallest. I then want to add another field next to the sorted field in order to indicate a sequential order of the first field (ranging from 1 to what ever is the last occurence is). In other words, calculate a numeric sequential order of a field and populate that field with numbers based and in conjunction with another field. Is it possible? Any tips ?
↧