[PATCH openEuler-5.10 56/97] treewide: Change list_sort to use const pointers