fix custom profession sorting

- resolves #78