public static void sort(short[] array, ShortComparator comparator) {
        sort(array, 0, array.length, comparator);
    }
@Test
    void test_sorting_single_item_array() {
        short[] array = {42};
        PrimitiveArraySorter.sort(array, Short::compare);
        assertEquals(42, array[0]);
    }