std.algorithm: Allow proxySwap-using swap overload to take by ref
std.algorithm: Add test for sorting via proxySwap