In the categories_config.php
calculated calculated field "CurrentSort" is used without table alias. This may be a problem if customization requires additional join. For example, join on same Categories table to get access to some parent category field values. In this case we get a problem to avoid following SQL error "1052: Column 'ParentPath' in field list is ambiguous".
...