Sorting Scoreboard
Rank Username Score
1 leonid 1000 (58 B)
2 primo 1000 (58 B)
3 Wim 1000 (58 B)
4 Ock 951 (61 B)
5 bakkerl 951 (61 B)
6 nubs 892 (65 B)
7 fab 853 (68 B)
8 eremit 763 (76 B)
9 someone 763 (76 B)
10 cecilozaur 753 (77 B)
11 activekim 744 (78 B)
12 henrik 734 (79 B)
13 Steinigtmich 725 (80 B)
14 vird 699 (83 B)
15 ptnplanet 586 (99 B)
16 Billionstar 580 (100 B)
17 linepogl 580 (100 B)
18 jt2k 542 (107 B)
19 andrew 527 (110 B)
20 mnilsson 518 (112 B)
Recent Activity
Username Bytes Time ago Result
activekim 78 March 21 2014, 09:31:48
AdrianPop 117 February 09 2014, 02:09:48
AdrianPop 126 February 09 2014, 01:02:32
AdrianPop 68 February 09 2014, 00:37:34
reignoffire 154 October 15 2013, 17:36:45
reignoffire 160 October 15 2013, 17:28:38
reignoffire 165 October 15 2013, 17:22:07
reignoffire 142 October 15 2013, 03:12:21
reignoffire 166 October 15 2013, 02:44:34
reignoffire 379 October 15 2013, 02:44:12
reignoffire 227 October 15 2013, 00:48:22
reignoffire 128 October 15 2013, 00:46:27
reignoffire 169 October 15 2013, 00:28:08
mnilsson 112 August 19 2013, 13:06:24
ganesan 130 July 11 2013, 16:14:28

Challenge: Sorting

Challenge information

Challenge Type Private
Challenge Status Open
Constant name STR
Trim method Full trim
Disabled functions sort rsort uasort uksort usort ksort krsort asort arsort natsort natcasesort array_multisort
Rating [ up ] [ down ]

Instructions

The input will be a list with random unsorted numbers from 1 to 999.

The list is separated with a space.

The list will always contain duplicates.

Print out the sorted list in the same format.

No sorting functions in PHP will be allowed.

Example

Show/hide Input
698 303 266 45 887 193 45 558 224 820 929 6 612 927
Show/hide Output
6 45 45 193 224 266 303 558 612 698 820 887 927 929

Comments

Show/hide comments (0)