sorted based on points