# Script tag custom ordering

**URL:** https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183
**Category:** Ideas
**Created:** [April 20, 2025, 2:26pm UTC](https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183 "2025-04-20T14:26:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![f96](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/f96/32/583_2.png) [@f96](https://forum.bootstrapstudio.io/u/f96)
#### Post date: [April 20, 2025, 2:26pm UTC](https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183/1 "2025-04-20T14:26:34Z")

</div>

Just a small comment on script tag ordering. There really is a need to be able to control the ordering of script tags. For example, moment.js has to be loaded before moment-timezone-with-data.js

I also have custom scripts which have to load before (sometimes after) certain scripts. Currently, the simple solution is to rename the script filename like how I would in a Linux “init.d”. For example:  
01\_moment.js 02\_moment-timezone-with-data.js

But this is weird since I should have already been able ot do the reordering in Bootstrap Studio itself.

I tried disabling the script files and putting new script tags in a custom code right after the body tag, but no sale (they’re simply not included in a preview or export).

Just wishing…

---

<div class="post-metadata">

### Author: ![raniaamina](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/raniaamina/32/1878_2.png) [@raniaamina](https://forum.bootstrapstudio.io/u/raniaamina)
#### Post date: [April 20, 2025, 4:00pm UTC](https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183/2 "2025-04-20T16:00:32Z")

</div>

As i know, you can right click Javascript in Design Tab, and then choose ‘Include Order’, you can set the order of js via this menu.

---

<div class="post-metadata">

### Author: ![f96](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/f96/32/583_2.png) [@f96](https://forum.bootstrapstudio.io/u/f96)
#### Post date: [April 21, 2025, 3:19pm UTC](https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183/3 "2025-04-21T15:19:31Z")

</div>

You are correct.

This rigid programmer-brain of mine would have never guessed it was in “JavaScript” itself as it looked more like a sidebar label/dropdown control.

Intuitively, I thought right-clicking on the js file itself (e.g. moment.js) would have exposed the “include order” function in the context-sensitive menu.

I also did search the forum for this topic before posting.

Thanks raniaamina

---

<div class="post-metadata">

### Author: ![raniaamina](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/raniaamina/32/1878_2.png) [@raniaamina](https://forum.bootstrapstudio.io/u/raniaamina)
#### Post date: [April 22, 2025, 4:02pm UTC](https://forum.bootstrapstudio.io/t/script-tag-custom-ordering/12183/4 "2025-04-22T16:02:55Z")

</div>

Yeps; You’re welcome @f96
