added sorting on comments and points