Add full examples to g_ptr_array_sort() and g_ptr_array_sort_with_data()
Add full examples to g_ptr_array_sort() and g_ptr_array_sort_with_data()

With changes by Emmanuel Fleury and Philip Withnall.

Closes issue #9

endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib,endlessm/glib