OK ... so I have the Attribute Copy & Sort and the Option Type Feature installed. I worked off of your code and FINALLY got it to sort the attributes in the drop down lists in the order that I assigned them in the Attribute Copy & Sort. I can't guarantee that this will work for you, but it's worth a shot since so many of you are asking for it. Keep in mind that I am not a programmer of any kind, but I seem to have some ability to understand the logic, even with code I don't necessarily understand.
I personally hate to scroll through lines and lines of code in the support forums, but here is my product_info.php code I changed from the original file that came with Option Type Feature 7.1.2:
Find:
$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'" );
Replace with:
$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "' order by pa.products_options_sort_order, pov.products_options_values_name ASC" );
Hope this helps someone!!
Scott