Added XOR sorting method for safer storage of passwords and whatnot