Function sort_variants

Source
pub const fn sort_variants<const N: usize, T>(arr: [T; N]) -> [T; N]