added sorted points