Database: apartment_rentals
Question: Sort the gender codes in descending order of their corresponding number of guests. Return both the gender codes and counts.
SQL: select gender_code ,  count(*) from guests group by gender_code order by count(*) desc