easy insertion sort with lines