# Ignore case in template query order by?

**URL:** https://community.silverbullet.md/t/ignore-case-in-template-query-order-by/2533
**Category:** General
**Created:** [June 21, 2025, 7:40pm UTC](https://community.silverbullet.md/t/ignore-case-in-template-query-order-by/2533 "2025-06-21T19:40:39Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![edison23](https://community.silverbullet.md/user_avatar/community.silverbullet.md/edison23/32/391_2.png) [@edison23](https://community.silverbullet.md/u/edison23)
#### Post date: [June 24, 2025, 10:49am UTC](https://community.silverbullet.md/t/ignore-case-in-template-query-order-by/2533/3 "2025-06-24T10:49:24Z")

</div>

Hi @MrMugame , thanks for the function. Could you please elaborate a little but on where should I place the function definition so that I can use it in the `template` macro? It seems I can’t simply put it somewhere into the macro as I get a syntax error when I do so.

Also, thanks for reminding me there’s the v2 - if I read [the announcement](https://community.silverbullet.md/t/silverbullet-v2-the-path-forward/2036/12) correctly, I’ll have to wait until upgrade for “pure Deno” deployment is covered as well.

---

_[View the full topic](https://community.silverbullet.md/t/ignore-case-in-template-query-order-by/2533)._
