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 Aurel300 699 (83 B)
16 ptnplanet 586 (99 B)
17 Billionstar 580 (100 B)
18 linepogl 580 (100 B)
19 jt2k 542 (107 B)
20 AHHP 542 (107 B)
Recent Activity
Username Bytes Time ago Result
AHHP 107 July 01 2014, 07:51:32
AHHP 174 July 01 2014, 07:42:53
AHHP 180 July 01 2014, 07:36:07
Aurel300 83 June 30 2014, 17:37:50
xade 67 June 07 2014, 07:57:10
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

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)