Revert "Fix for miscsorter.php"

This reverts commit 6e4cd0b6bce3b2bbba326d3a6aea34262d79fa1b.