Made changes to insert sort formatting