Edit $sort in get_role_users function: using timemodified