iamchrisburnell’s avatariamchrisburnell’s Twitter Archive—№ 1,913

    1. …in reply to @ginez_17
      @ginez_17 @dletorey @eleven_ty afaik, while you might be able to see the correctly-sorted list after assigning with Liquid/Nunjucks on a page, as far as Eleventy is concerned, the _Collection_ itself still hasn't been sorted beyond creation date. 1/2
  1. …in reply to @iamchrisburnell
    @ginez_17 @dletorey @eleven_ty I think what you want to do is sort it at its creation, before it gets spit out of Eleventy's internals to use in whatever templating language. Here's how I do it on my website, if it's of any help: github.com/chrisburnell/chrisburnell.com/blob/main/src/eleventy/collections.js#L13-L17