Description: Calculate the predecsessor class for the triple order. (Contributed by Scott Fenton, 31-Jan-2025)