My foolproof trick to determining which shorts will or won't roll up on you! The length varies per person depending on your own anatomy, but I've tried SO many shorts and can guarantee this is the only way to truly avoid rolling.
First shorts: Buffbunny spin shorts
Second shorts (longer): Kamo Fitness serenity shorts