sorting for admin is working now.