Sorting Scoreboard
Rank Username Score
1 leonid 1000 (58 B)
2 primo 1000 (58 B)
3 Wim 1000 (58 B)
4 jth 1000 (58 B)
5 Ock 951 (61 B)
6 bakkerl 951 (61 B)
7 wan2land 951 (61 B)
8 activekim 951 (61 B)
9 nubs 892 (65 B)
10 joony1017 892 (65 B)
11 ani2life 879 (66 B)
12 fab 853 (68 B)
13 eremit 763 (76 B)
14 someone 763 (76 B)
15 lury 763 (76 B)
16 cecilozaur 753 (77 B)
17 hslee 753 (77 B)
18 FlyLo 744 (78 B)
19 henrik 734 (79 B)
20 Steinigtmich 725 (80 B)
Recent Activity
Username Bytes Time ago Result
lury 76 March 20 2016, 23:16:40
lury 108 March 20 2016, 23:01:08
lury 132 March 20 2016, 22:55:38
lury 114 March 20 2016, 22:52:11
lury 187 March 20 2016, 22:50:58
FlyLo 78 March 18 2016, 22:49:30
FlyLo 77 March 18 2016, 22:36:52
FlyLo 76 March 18 2016, 22:11:58
johndoe 154 March 10 2016, 14:07:24
johndoe 160 March 10 2016, 14:06:00
daevar 84 March 10 2016, 09:35:34
daevar 86 March 10 2016, 08:53:08
krzysiej 151 November 30 2015, 13:55:36
krzysiej 151 November 30 2015, 13:49:49
kneadtruth 291 October 28 2015, 11:13:46

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)