sorting wagon update