Sort:  

Yes, I've done it in a way where the same logic pretty much applies to both, so quite flexible here