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 nubs 892 (65 B)
9 joony1017 892 (65 B)
10 ani2life 879 (66 B)
11 fab 853 (68 B)
12 activekim 853 (68 B)
13 eremit 763 (76 B)
14 someone 763 (76 B)
15 cecilozaur 753 (77 B)
16 hslee 753 (77 B)
17 henrik 734 (79 B)
18 Steinigtmich 725 (80 B)
19 wechselbalg 725 (80 B)
20 vird 699 (83 B)
Recent Activity
Username Bytes Time ago Result
activekim 68 November 28 2014, 05:50:38
activekim 57 November 28 2014, 03:00:58
joony1017 65 November 27 2014, 17:59:26
joony1017 65 November 27 2014, 17:57:45
wan2land 61 November 27 2014, 12:15:15
joony1017 69 November 24 2014, 06:38:46
joony1017 69 November 24 2014, 06:36:51
ani2life 66 November 22 2014, 19:53:19
hslee 77 November 22 2014, 19:51:56
hslee 79 November 22 2014, 19:50:48
ani2life 73 November 22 2014, 19:46:55
hslee 87 November 22 2014, 19:46:02
hslee 136 November 22 2014, 19:45:03
staringstar 86 November 22 2014, 19:42:43
staringstar 64 November 22 2014, 19:39:24

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)