Energy as the cornerstone of environmentally driven sex allocation. (October 2022)