fn insert_head<T, F>(v: &mut [T], is_less: &F)where F: Fn(&T, &T) -> bool,
Inserts v[0] into pre-sorted sequence v[1..] so that whole v[..] becomes sorted.
v[0]
v[1..]
v[..]
This is the integral subroutine of insertion sort.