updated order by for events using meta field