Change SORT_STRING to SORT_NATURAL for the encodings list
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
parent
c4440b9586
commit
89ec0bc083
|
@ -84,7 +84,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<option value="" selected><?php esc_html_e( 'Autodetect', 'woocommerce' ); ?></option>
|
||||
<?php
|
||||
$encodings = mb_list_encodings();
|
||||
sort( $encodings, SORT_STRING );
|
||||
sort( $encodings, SORT_NATURAL );
|
||||
foreach ( $encodings as $encoding ) {
|
||||
echo '<option>' . esc_html( $encoding ) . '</option>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue