# For TidierData.jl, wouldn't it make sense to introduce \`@sort\` etc along side \`@arrange\` given some verbs in dplyr were chosen due to "limitations" of R which aren't issues in Julia

**URL:** <https://discourse.julialang.org/t/for-tidierdata-jl-wouldnt-it-make-sense-to-introduce-sort-etc-along-side-arrange-given-some-verbs-in-dplyr-were-chosen-due-to-limitations-of-r-which-arent-issues-in-julia/121615>\
**Category:** Data\
**Created:** [October 22, 2024, 10:17pm UTC](https://discourse.julialang.org/t/for-tidierdata-jl-wouldnt-it-make-sense-to-introduce-sort-etc-along-side-arrange-given-some-verbs-in-dplyr-were-chosen-due-to-limitations-of-r-which-arent-issues-in-julia/121615 "2024-10-22T22:17:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [October 22, 2024, 10:17pm UTC](https://discourse.julialang.org/t/for-tidierdata-jl-wouldnt-it-make-sense-to-introduce-sort-etc-along-side-arrange-given-some-verbs-in-dplyr-were-chosen-due-to-limitations-of-r-which-arent-issues-in-julia/121615/1 "2024-10-22T22:17:59Z")

</div>

I was looking into the TidierData.jl api and I see familiar macro-verbs like `@arrange` which is basically `@sort` for all intents and purposes.

So the question is why did dplyr choose `arrange` as the key word for sorting? It think it’s because of R’s limitation. The `sort` is already available from R base and it might clash with that unless they define the `sort.data.frame` function which they were reluctant to do.

But Julia has multiple dispatch and can easily handle these cases. And also `@sort` can be a macro and doesn’t have to be a function.

What the thoughts to introducing `@sort` alongside `@arrange` so that people coming from dplyr will know what `@arrange` does but there’s a key word that makes more sense in `@sort`.

Other examples include `(@mutate, @transform)`
