Sorting already exists before deletion

Template for a good false-positive report, formatted with Markdown:

  • versions used (SonarQube, Scanner, language analyzer)
    Version:9.0.1.46107
    Language analyzer:abap

  • minimal code sample to reproduce (with analysis parameter, and potential instructions to compile).
    sort me->t_charamap by prog_chara ricefno descending.
    delete adjacent duplicates from me->t_charamap comparing prog_chara.

abap:S1673 Still report bug

Wrap code around triple quote ``` for proper formatting

sort gt_item by gjahr belnr buzei.
gt_outitab = gt_item.
delete adjacent duplicates from gt_outitab comparing gjahr belnr.

This style will also give false positives