JavaScript (Node.js), 67 60 bytes
o=>r=>Buffer(o).map(c=>c%32<26&c>64?(c%32+r)%26+c-c%32:c)+''
Try it online!
o=>r=> // Define a function taking o an...
Vyxal s, 5 bytes
2=A[5
Try it Online!
You're not the only one who can abuse flags, Shaggy...
2= # Foreach, is it equal to to?
A[ # If all are 2
5 # Push a 5.
# (s flag) sum...
Vyxal R, 1 byte
R
Try it Online!
Function must be inserted in the header.
The R flag casts integers to ranges when an integer can't be used. R is the builtin for 'Reduce list by function', an...
JavaScript (Node.js), 52 bytes
(A,...c)=>A.sort((a,b)=>c.map(z=>z(a,b)).find(x=>x))
Try it online!
A golf of the reference code.
If we can assume there will be no ties, 47 is po...