Sort:  

The correct answer is 40, thank you for playing @rigaronib.