On Thu, Nov 29, 2018 at 1:14 AM Oon-Ee Ng <ngoonee.t...@gmail.com> wrote:
> On Thu, Nov 29, 2018 at 2:06 PM Daniele Nicolodi <dani...@grinta.net> > wrote: > >> On 28/11/2018 20:53, Martin Blais wrote: >> > The current source file for importing that I'm working on lists >> > transaction in reverse chronological order (I want chronological, in >> > this case) but also has a reference number that is monotonically >> > increasing. So my current hack is to set line number for the >> > transactions to be that reference number. >> > >> > >> > That seems not unlike the idea of storing the time in metadata - >> > discussed in a prior thread but not yet implemented - and to use that as >> > a secondary sort key. Maybe I can generalize this idea of a secondary >> > sort key to let users put whatever they want in there (as long as the >> > type is comparable, for sorting). >> >> Aren't directives written in the order in which they are returned by the >> importer? I didn't see any mention of the fact that bean-extract does >> any sorting on its own in the documentation, but I may have missed it. >> >> Cheers, >> Dan >> > > That was my impression as well, but after testing it out I found this was > not the case. The returned ordered list of transactions is then sorted by > date and line number. > Yes. Sorted by date. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To post to this group, send email to beancount@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMwhsjYnEyFvgW2DXNRV%2BuPuJZSzC%2BtWejGEXa6AyQhmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.