Fix parsing of arguments in SmartList.sort()