pub fn sort_entries_by_priority<const D: usize, A: Clone>(
    entries: &mut [TableEntry<D, A>]
)