added sorting feature for admin dashboard table