# Execution order of controls rb files

**URL:** <https://discourse.chef.io/t/execution-order-of-controls-rb-files/16675>\
**Category:** Chef InSpec\
**Created:** [February 12, 2020, 9:57am UTC](https://discourse.chef.io/t/execution-order-of-controls-rb-files/16675 "2020-02-12T09:57:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luffytaro](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@luffytaro](https://discourse.chef.io/u/luffytaro)\
**Post date:** [February 12, 2020, 9:57am UTC](https://discourse.chef.io/t/execution-order-of-controls-rb-files/16675/1 "2020-02-12T09:57:43Z")

</div>

Hi,

I would like to how i can configure the execution order of the rb files in controls directory.  
I tried to name the filenames in numerical order but i does not work. E.g 1-file.rb 1-1-file.rb 1-3-file.rb

anyone can advise me what i can do to make sure that the rb files are executed based on the order i want?

Thanks
