The dramatic 1998 sacking of former deputy premier Anwar Ibrahim will be probed after the country's highest court agreed to hear a legal challenge to the dismissal.