pub fn check_sorted_sho_idx_ary_with(sho_idx_ary: &[(u8, usize)]) -> bool {
    let mut target = sho_idx_ary.to_vec();
    target.sort_by(|&a, &b| match a.0.cmp(&b.0) {
        Ordering::Less => Ordering::Less,
        Ordering::Greater => Ordering::Greater,
        Ordering::Equal => a.1.cmp(&b.1),
    });
    target == sho_idx_ary
}
/// Check only sorted sho idx ary table.
Check only sorted sho idx ary table.
Check only sorted sho idx ary table .
pub fn check_sorted_sho_idx_ary_with(sho_idx_ary: &[(u8, usize)]) -> bool {
    let mut target = sho_idx_ary.to_vec();
    target.sort_by(|&a, &b| match a.0.cmp(&b.0) {
        Ordering::Less => Ordering::Less,
        Ordering::Greater => Ordering::Greater,
        Ordering::Equal => a.1.cmp(&b.1),
    });
    target == sho_idx_ary
}
pub fn check_sorted_sho_idx_ary_with ( sho_idx_ary : & [ ( u8 , usize ) ] ) -> bool { let mut target = sho_idx_ary . to_vec ( ) ; target . sort_by ( | & a , & b | match a . 0 . cmp ( & b . 0 ) { Ordering :: Less => Ordering :: Less , Ordering :: Greater => Ordering :: Greater , Ordering :: Equal => a . 1 . cmp ( & b . 1 ) , } ) ; target == sho_idx_ary }
Check only sorted sho idx ary table.
Check only sorted sho idx ary table .
sho_idx_ary
&[(u8, usize)]
sho_idx_ary
&[(u8, usize)]