MAX_TO_SORT
int dx_pref[ MAX_TO_SORT ];
if ( dx_count < MAX_TO_SORT - 1 ) {
sort_count = ( dx_count < MAX_TO_SORT ) ? dx_count : MAX_TO_SORT;