If you want to implement a dynamic sort based on an input parameter of type Text, you need to sanitize this string to prevent SQL-injections. This library has two functions to get you covered:
How to use the component
Uploaded by: Sebastian Krempel
BSD-3 license (https://opensource.org/licenses/BSD-3-Clause)