event table sorting

implemented events table sorting by all categories