From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oNUBJK/0dl+7dgAA0tVLHw (envelope-from ) for ; Fri, 02 Oct 2020 09:36:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wAPMH6/0dl/DMgAAB5/wlQ (envelope-from ) for ; Fri, 02 Oct 2020 09:36:47 +0000 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 133719402B2 for ; Fri, 2 Oct 2020 09:36:47 +0000 (UTC) Received: from localhost ([::1]:51426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOHUc-0007eR-2W for larch@yhetil.org; Fri, 02 Oct 2020 05:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOHU9-0007eF-UG for emacs-orgmode@gnu.org; Fri, 02 Oct 2020 05:36:17 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:43714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOHU7-0002I3-NN for emacs-orgmode@gnu.org; Fri, 02 Oct 2020 05:36:17 -0400 Received: by mail-wr1-x42f.google.com with SMTP id k15so1025764wrn.10 for ; Fri, 02 Oct 2020 02:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=B8eloFZVIk0kAbP7O6h72Zh7IrQMXZ+B/o3I5Ur+SAc=; b=na+71C3/1LNh6KzYaFVrS9+01RHs3wO8qXUtIm/0hQ3nVVT73jiLpoB3y/KcWRxd+X CBi54G4BZJfGKERsSdyV99Gu6s64be0qT8QuzzT2dxFJFPzKv+5QZHyMIU1yUInrIhha TKOEqMXSJp9p1G7ORCuitThVyys1ucgp+SPxUZfiOGeci1hVWzT/6tbvXwAk9pmtzVTB YHYkI+lS3kXzh4sIxysFfsZ2zN/Jubrdz1cAseN+iQgyAQwjQhsWKxVaY80y6pSSEZKf 5a6kQihzfkJLqtAQgjEkqAAAQOaCnXUcWdQ7VuuQfamDkOzlbk/AcrLOLanKBXLbx84S 9NVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=B8eloFZVIk0kAbP7O6h72Zh7IrQMXZ+B/o3I5Ur+SAc=; b=Ee94/+Jmfwo51lD0HTXILcnti/3zbSxrmEV5mfakopOubs0Y/Hnfh9kBDghWrKNPe8 dddox9wnRdqB0F8qYLtehLrDZ6RV/IOL0aKpvc34BiNq6C602Bu7dXh9JdGxU3wO8pZi hOz4cmpYfCBI5Q4HNEzGHUD2YQ3D5a0bdACZArZwfk6Q7SUzt3kyQh/E64Q6T0PXtrGd +iv/O6tLDl5qJfGkV7IIjadBwgZWt2ss3CEXg9gm/HpNlyybT0cEuyyZ6RcKdqcs2uwi ahdTHUcd4kSrkwgYC5BfMIg50K/deFHeGtzhx9qCpYJZY2JrVkzQtorGMBBWWqUroyVY GkSg== X-Gm-Message-State: AOAM530zOehZK3ECizPxqHM8GVVfRTw5mUAzMV5ZCEF0WONNMlxKu0/N rJzfsJSXEVflBQmZtgIrKySHxzdC9VQ= X-Google-Smtp-Source: ABdhPJyYNaHgY8OBq1UWVIkYiawUodUz211OlLI7RTo4BBARTobSi5c53XSRu37uMg3NHh8P9rx/Xg== X-Received: by 2002:adf:f88b:: with SMTP id u11mr1918869wrp.376.1601631373273; Fri, 02 Oct 2020 02:36:13 -0700 (PDT) Received: from rpluim-mac ([2a01:e34:ecfc:a860:89e:4e37:e783:61d3]) by smtp.gmail.com with ESMTPSA id n14sm1055847wmi.33.2020.10.02.02.36.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 02:36:12 -0700 (PDT) From: Robert Pluim To: Axel Kielhorn Subject: Re: Two tables with same data but different sorting References: <65644810-71B5-412C-9E13-ADC15CA80CF6@axelkielhorn.de> <3CB77DC4-121C-43D9-A814-16FB1DE307B1@axelkielhorn.de> <58A08721-0871-49F3-B190-F0B1F533C6B7@axelkielhorn.de> Gmane-Reply-To-List: yes Date: Fri, 02 Oct 2020 11:36:11 +0200 In-Reply-To: <58A08721-0871-49F3-B190-F0B1F533C6B7@axelkielhorn.de> (Axel Kielhorn's message of "Fri, 2 Oct 2020 08:25:03 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode Mailing List Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=na+71C3/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: NJufvXmH6NPN >>>>> On Fri, 2 Oct 2020 08:25:03 +0200, Axel Kielhorn said: >> Am 01.10.2020 um 17:47 schrieb John Kitchin : >>=20 >> Glad it was helpful. You might also try (seventh row1) or (nth 6 row= 1). I think it is the same thing, but more obvious to read! Axel> I agree that =E2=80=9Efirst second =E2=80=A6=E2=80=9C would be ea= sier for an english speaker. Axel> Having the ordinal number 1 based but the nth number 0 based is i= rritating (and sadly there is no =E2=80=9Elast=E2=80=9C or =E2=80=9Epenulti= mate=E2=80=9C). ? C-h f last last is a compiled Lisp function in `subr.el'. (last LIST &optional N) Probably introduced at or before Emacs version 1.1. This function does not change global state, including the match data. Return the last link of LIST. Its car is the last element. If LIST is nil, return nil. If N is non-nil, return the Nth-to-last link of LIST. If N is bigger than the length of LIST, return LIST. Axel> Actually I was looking for something like last element or the ele= ment before the last element. element before last would be (car (last lst 2)) Robert --=20