title: Using g_array_sort function
body: <p>I need to use the function <code>g_array_sort(GArray *array, GCompareFunc *func)</code> but I do not understand the second parameter. </p>
  
  <p>Please show me how it should be called and if possible please attach a sample example....</p>