fixed dynamic sort inference for KList with frames