update sort plugin