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