To change data sorting in "state" and "county" fields in the demographic

dear all,
I have a question. I would like change the way to sort the data to be displayed for “state” and “county” fields in the drop down select list. Right now, it is sorted by alphabetically “title” and “seq”.
I checked in the code options.inc.php and tried to modify in the function “generate_select_list” still no change the way I want (sorted by alphabet in “title” only.

Please help which line of code in the options.inc.php I need to modify.

@ebudiahr,
To be simple without modifying the code, have you tried by keeping the seq value as 0 for all options.

Thanks,
ViSolve

@viSolve,
I tried and solved as I expected, the data sorted by the alphabet of ‘title’. Thank you so much.