fix bugs for sort action and player ui