Sort between lists in ui