Sort:  

Let me know how you do. I found it to be a very tricky calculation that why I posted my advice here.