That's interesting. I wonder whether there would be any test cases where not having a condition for the starting rank would throw an error. I performed the sort at the beginning and then inserted a record ID tool. That way, I could use a separate condition in my formula for the first record. I wanted to make sure the first record was ranked 1st.