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 henrik 734 (79 B)
12 Steinigtmich 725 (80 B)
13 vird 699 (83 B)
14 ptnplanet 586 (99 B)
15 Billionstar 580 (100 B)
16 linepogl 580 (100 B)
17 jt2k 542 (107 B)
18 andrew 527 (110 B)
19 nishanth 475 (122 B)
20 scottholdren 411 (141 B)
Recent Activity
Username Bytes Time ago Result
henrik 79 May 25 2013, 20:09:08
Eikje3 209 April 12 2013, 14:00:22
Eikje3 173 April 12 2013, 13:32:47
Eikje3 209 April 12 2013, 13:25:52
Eikje3 208 April 12 2013, 13:20:14
Eikje3 207 April 12 2013, 13:10:20
Eikje3 206 April 12 2013, 13:02:19
alakani 151 March 30 2013, 07:14:33
jean 70 February 19 2013, 21:27:49
Wim 58 February 19 2013, 08:30:33
Wim 58 February 19 2013, 08:28:26
fab 68 February 17 2013, 23:39:47
fab 68 February 17 2013, 23:39:01
fab 68 February 17 2013, 23:37:15
fab 72 February 17 2013, 23:37:01

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)