Glad you figured it out!
Yeah, most programming languages will sort alphabetically, and cg10 comes after cg1 (which is also how Windows used to sort before Windows 10 before it got smart, I believe!)