From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GE//KoH/fmWxXQAAkFu2QA (envelope-from ) for ; Sun, 17 Dec 2023 15:02:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GK2uJ4H/fmVHEQAA62LTzQ (envelope-from ) for ; Sun, 17 Dec 2023 15:02:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lC8JCQ0y; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702821761; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wDYpih/vZFpno21bxXlGHOutk6ktjTOXYrdVtslhKeI=; b=uIpS/CH8AmVwe4jGTvKpJG3LKfYiahutBKS26MUM4wGge5VH4vWyxdaH3gVlmo8zATZP9z 3RMz8lqLe8ZUp++qHBKhEi/7bVaPQk2EEmecQVAIETI9+SccM5tb9WUE/puJgNI0zFebZw lDnQfnP97yZ8oGWYCRHYPOuB3/IuqnZfUfyNf44iyjulP4pq/nhZqmaVlbSwAjjp+1Ogxo DGs/HA8kBILYoMHuBeG/8Gzf7yOTC7CJOx9185wyQi2p2gP8QnT5Vk9K2ztGBQfxdu/OL6 bFPOP7J6jT827sbEz46pEtt52BJAXftdrFOsmwXGqcOkrim0qcnApk5SvWYiGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702821761; a=rsa-sha256; cv=none; b=S2TuHsAO6gtFlnGSXWgRRnPcGcLYxTI5EwKGk54PWQ+e+ZSYoJp+RZFpGSlAMshu0x5lRJ ekwpeajOBDeonOm4Rul+Vs+yw9BbEjMpKBSKdeQQvtATtyZNXOawgMml2khWxvGuTT70I5 +xLcbAoj6Uw+kqnAXJtQwszUQJhMH03/zn3k68EWfIJiqB0sf2YB8GuF2JFsjmxuUFIvqv ZkY4uXprYI7oZSYfmGb1XrBsOllLFTGsEj31ia/GKdP9VvklxX9W7b8N5BQTkNV8CY3IQB ZT0Sno3LH6lg0m4wAI+f0pW6LOfD8418rYyy7fUGXE1ly4HWLGuD/oib7Ag85Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lC8JCQ0y; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 14EA0120D1 for ; Sun, 17 Dec 2023 15:02:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEriM-00063c-Lk; Sun, 17 Dec 2023 09:01:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEriK-00063P-K8 for emacs-orgmode@gnu.org; Sun, 17 Dec 2023 09:01:52 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEriH-0005aG-ST for emacs-orgmode@gnu.org; Sun, 17 Dec 2023 09:01:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BC6DA240027 for ; Sun, 17 Dec 2023 15:01:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702821705; bh=uzaRpRBvFGDe8MJ4edw1l9cF+8pXxGOGfv5GFiCbO70=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=lC8JCQ0yU/6Rlene7oqWShgRmiuRWxlcY81Lixvd49H1YQxt68ANoMrr5XvMM0f6g WskHNTtYhxEJ6rnjxYooBQkBETed+F3g7TA2r2INCrIuaMSjML+VlwzBsIZXEXE4ps xR+11QNngKlyTIKy/7J+6x2Ys2w+bAjHQQmI6wdxF2yBcflSSqVpizxCokOL/JOQhd HicBB569RzdgFB6bcuSKr6aK1jyuZa8Ih0rKt1AKDT/vrn2EBzYun30RnmIx0fJj6x YSXQsoJEsh0gOlkZ2NZzBrQ4XPcAmvsXq4riVmlJl4SNYwtesNMhPrsbDjNpWyKHS7 BjDAfnvl57yOQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4StPlD6v4pz6tsb; Sun, 17 Dec 2023 15:01:44 +0100 (CET) From: Ihor Radchenko To: Zelphir Kaltstahl Cc: emacs-orgmode@gnu.org Subject: Re: Bug in sorting headings according to priority In-Reply-To: <8d637a8a-6cbc-4158-bded-f9182716a1fc@posteo.de> References: <8d637a8a-6cbc-4158-bded-f9182716a1fc@posteo.de> Date: Sun, 17 Dec 2023 14:04:55 +0000 Message-ID: <87o7eozzzs.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.32 X-Spam-Score: -9.32 X-Migadu-Queue-Id: 14EA0120D1 X-Migadu-Scanner: mx12.migadu.com X-TUID: PpNng8xaJIKI Zelphir Kaltstahl writes: > Here is an example document: > > ~~~~ > * 1 > ** [#A] 2.1 > ** [#C] 2.2 > ** [#B] 2.3 > ~~~~ > ... > The result is: > > ~~~~ > * 1 > ** [#A] 2.1 > ** [#B] 2.3** [#C] 2.2 > ~~~~ Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=67ce9386a https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=92fec81e2 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at