Swap two keys in keyboard

Hello, this question is pretty simple (I hope):

I would like to swap the less than and the greater than sign on my keyboard because it is weird.
Basically, when I type “>” it writes “<” and vice-versa.

I think the name of my current keyboard layout is fr latin9

I tried creating the file /etc/X11/xorg.conf.d/90-custom-kbd.conf

Section "InputClass"
    Identifier "keyboard defaults"
    MatchIsKeyboard "on"

    Option "XKbOptions" "less:greater"

while trying to understand this wiki but it didn’t work.

Thanks in advance !