Skip to content

Sort Variables - Sorts by object name and not variable name? #660

@MiePlougstrupTasklet

Description

@MiePlougstrupTasklet

If my variable name does not match the object name exactly, the sorting of the variables are not in alphabetic order by variable name. It looks like it might sort alphabetically by the object name.

The below example shows my point, though I would not name my variables like this :)

I have these two variables, and I would expect the order to be like this:

FileFormatting: Codeunit "Format Document";
FileMgt: Codeunit "File Management";

But running the command "AZ AL Dev Tools: Sort Variables in the Active Editor" sorts these two variables like this:

FileMgt: Codeunit "File Management";
FileFormatting: Codeunit "Format Document";

Is this by design, or is it a mistake? I did not notice this issue earlier, but lately this is what has happened, so maybe a new version has introduced the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions