added sorting on columns and increased limit from 1000 to 2000 on json events