ui: resources list: fix sorting menu