Whenever you're ready, walk me through how you'd approach this.
How would you reorder an array of names so that male names come before female names, assuming you have a method to determine gender from each name?