add insert sorts functions