sort by points
added flags