Do not modify the shared utility unless you have a compelling reason to do so. This topic describes, in general terms, why you might modify the utility files.
Caution You can add new functions or extend the existing function in these files; however, you must not delete or alter the existing functions.
Modify and use this file for client-side sorting. If your application requires each user to frequently sort field arrays, you should reference and extend this file. All of the sorting functionality is handled by the locally-cached version of this file. When relying on the client-side functionality implemented in this file, only one user can access the sorting.
Modify and use this file for server-side sorting. If your application requires that a single sorting operation is distributed across the enterprise - among many users, then reference and extend this file. All sorting functionality is handled by the file on the server, so using this file for frequent sorting will cause the server operation to degrade as the load increases.