Egypt court orders activist's release