I have a function which sorts data in a multidimensional array, as shown below:
\"James\");
usort($data, array($this,"order_new"));
is what you want when referring to a function in your class instance. See callable
A method of an instantiated object is passed as an array containing an object at index 0 and the method name at index 1.