update standing sort logic