# Order of methods docstrings inside function block when using Documenter

**URL:** https://discourse.julialang.org/t/order-of-methods-docstrings-inside-function-block-when-using-documenter/104922
**Category:** General Usage
**Tags:** question, documentation, documenter
**Created:** [October 13, 2023, 9:16am UTC](https://discourse.julialang.org/t/order-of-methods-docstrings-inside-function-block-when-using-documenter/104922 "2023-10-13T09:16:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Alexey\_Bogdanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexey_bogdanov/32/202447_2.png) [@Alexey\_Bogdanov](https://discourse.julialang.org/u/Alexey_Bogdanov)
#### Post date: [October 13, 2023, 9:16am UTC](https://discourse.julialang.org/t/order-of-methods-docstrings-inside-function-block-when-using-documenter/104922/1 "2023-10-13T09:16:46Z")

</div>

Hi everyone!

I’m having trouble with order of appearance of methods docstrings inside a function block using Documenter.jl macro `@docs`. This order seems to be random. That is everytime I build the docs the order of methods docstrings inside a function can vary and it does vary in many functions.  
For example docs for this function from base/collections:

````julia
```@docs
Base.pairs
```

````

can be built in different order:

```julia
Base.pairs(::Any)
Base.pairs(::IndexLinear, ::AbstractArray)

```

or

```julia
Base.pairs(::IndexLinear, ::AbstractArray)
Base.pairs(::Any)

```

Is it possible to freeze the order of docstrings inside these functions with multiple docstrings?  
The problem is that I’m having a lot of parasitic text differences because of it while trying to build the docs after some updates for my project. I’m making the localization of Base Julia docs.
