From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a37:2d06:0:b0:738:78e0:6040 with SMTP id t6-20020a372d06000000b0073878e06040mr81427qkh.315.1676364594504; Tue, 14 Feb 2023 00:49:54 -0800 (PST) X-Received: by 2002:a05:6830:1db9:b0:68b:d4cc:e72f with SMTP id z25-20020a0568301db900b0068bd4cce72fmr61170oti.108.1676364594214; Tue, 14 Feb 2023 00:49:54 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 14 Feb 2023 00:49:53 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=84.209.88.37; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 84.209.88.37 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Use Ada.Containers.Vectors Generic_Sorting or Ada.Containers.Ordered_Sets ? From: reinert Injection-Date: Tue, 14 Feb 2023 08:49:54 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1332 Xref: reader01.eternal-september.org comp.lang.ada:64923 List-Id: Hello, Sometimes, I have to sort records. One possibility is to use Generig_Sorting under Ada.Containers.Vectors and eksplicitly use Sort. An alternative is to use Ada.Containders.Ordered_Sets and somehow get sorting "for free". I would like to get arguments for and against these two alternatives. reinert