# Sortperm slow test case and fix suggestion

**URL:** <https://discourse.julialang.org/t/sortperm-slow-test-case-and-fix-suggestion/23498>\
**Category:** General Usage\
**Tags:** sortperm\
**Created:** [April 25, 2019, 9:05am UTC](https://discourse.julialang.org/t/sortperm-slow-test-case-and-fix-suggestion/23498 "2019-04-25T09:05:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kevbonham](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kevbonham/32/216165_2.png) [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Post date:** [April 25, 2019, 9:47am UTC](https://discourse.julialang.org/t/sortperm-slow-test-case-and-fix-suggestion/23498/2 "2019-04-25T09:47:08Z")

</div>

Welcome to the forums! It’s a bit tough to read the code in your post, please quote your code with 3 backticks at the top and bottom of code blocks or press the button that looks like `</>`. Compare

function foo(speech)  
println(“this doesn’t look good”)  
end

to

```julia
function bar(code)
    println("ahh, much better")
end

```

See also: [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757)

---

_[View the full topic](https://discourse.julialang.org/t/sortperm-slow-test-case-and-fix-suggestion/23498)._
