Legend entry ordering