Sort:  

Exactly, this is the formula I have adjust code to.