Listen to sort info

Fix the build problem. I did not notice that someone else change the method.