If I have two strings, for example "123456789" and "135792468", and I want to know if they are a reordering of each other, is there a function in PHP like function is_reorder(str1, str2)
where I can input is_reorder(123456789, 135792468)
and have it return TRUE
because 123456789 is just 135792468 in a different order?
If there is no built-in function for this, how can I do it?