JArrayHelper::sortObjects

Utility function to sort an array of objects on a given field