The function `f(x)` reverses the order of characters in a given string.

