If you are interested in knowing the total rows in your dataset by numbering them irrespective of ties, Then Row_number is a banger. ROW_NUMBER and RANK are similar ...
Use a CTE that returns the row ID and the result of the DateDiff, then join that to your existing result set? It may or may not be faster, so as always, test it to see.