[perl #24482] Fix sort and require to treat CORE:: as keyword