GENERALIZED OPTIMAL LINEAR ORDERS