Steps to reproduce:
1. Open file browser
2. Click on any header cell to sort the file list by any of columns, small triangle appears
3. Move the column, triangle remains at the same index, sorting is not broken though
4. Click on the moved column (sorted) again, which should contain the sorting mark (triangle), sorting order and sorting mark changes as if the click was made at the column with the mark.
Patch: https://sourceforge.net/p/jedit/patches/604/ (does not touch first column)
Also https://sourceforge.net/p/jedit/patches/603/ should be applied to disable moving of the first column.