made actual proper insertion sort this time