Cleanup some code using GPtrArray sorting with functions that were taking pointer to pointers arguments.