Sort:  

thanks @tts you've simplified my post.