Oracle Error Message
PLS-00523: ORDER methods must return an INTEGER.
Reason for the Error
An order member function was written such that it returns something other than an integer type.
Solution
Rewrite the ORDER method such that it returns an integer type.