Jump to content

JortSort: Difference between revisions

m
added whitespace, capitalized the first word in a sentence, aligned the two IFs, used highlighting for the boolean values, split long lines, elided the use of as-is text (attribution), added whitespace before the TOC.
(Added Wren)
m (added whitespace, capitalized the first word in a sentence, aligned the two IFs, used highlighting for the boolean values, split long lines, elided the use of as-is text (attribution), added whitespace before the TOC.)
Line 3:
{{task|Sorting Algorithms}}
 
{{noticebox||Note:   jortSort is considered a work of satire.   It achieves its result in an intentionally roundabout way.   You are encouraged to write your solutions in the spirit of the original rather than trying to give the most concise or idiomatic solution.}}
jortSort is a sorting toolset that makes the user do the work and guarantees efficiency because you don't have to sort ever again. It was originally presented by Jenn "Moneydollars" Schiffer at the prestigious [https://www.youtube.com/watch?v=pj4U_W0OFoE JSConf].
 
 
jortSort is a function that takes a single array of comparable objects as its argument. It then sorts the array in ascending order and compares the sorted array to the originally provided array. If the arrays match (i.e. the original array was already sorted), the function returns true. If the arrays do not match (i.e. the original array was not sorted), the function returns false.
jortSortJortSort is a sorting toolsettool set that makes the user do the work and guarantees efficiency because you don't have to sort ever again. It was originally presented by Jenn "Moneydollars" Schiffer at the prestigious [https://www.youtube.com/watch?v=pj4U_W0OFoE JSConf].
<br>It was originally presented by Jenn "Moneydollars" Schiffer at the
prestigious &nbsp; [https://www.youtube.com/watch?v=pj4U_W0OFoE JSConf].
 
 
JortSort is a function that takes a single array of comparable objects as its argument.
 
It then sorts the array in ascending order and compares the sorted array to the originally provided array.
 
If the arrays match &nbsp; (i.e. the original array was already sorted), &nbsp; the function returns &nbsp; '''true'''.
 
If the arrays do not match (i.e. the original array was not sorted), the function returns &nbsp; '''false'''.
<br><br>
 
=={{header|AArch64 Assembly}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.