Limit sort mode to specific versions of Perl