Requesting a re-sorting in TreePane would only act if the ordering had changed. When restoring JMRI preferences, we want to do that sort even if the default hadn't changed. This removes the check for the current sort order, so any re-sort request will actually re-sort.
Requesting a re-sorting in TreePane would only act if the ordering had changed. When restoring JMRI preferences, we want to do that sort even if the default hadn't changed. This removes the check for the current sort order, so any re-sort request will actually re-sort.