Fixed bug that would prevent multi-level sorts when > second sort field was an attribute