Added sorting to addpoint form