fix insertion sort
fix demo