ordering was incorrectly affected by the transform functions