Improve insertion sort in list view