Oracle Interview Question

How to find if 2 strings are anagrams? One DBMS question. One elevator logic designing question.