Sorty by number of occurences

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Sort characters by how many times a character occurs.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

gihghg
1223334444
hihii
zaz

Sample output:

ggghhi
4444333221
iiihh
zza

Sample input:_

()()( ))
...
998887
?-?-?

Sample output:

))))((( 
...
888997
???--

Sample input:_

abccbaababb
abccccccccbaababb
abcaab
;;hohooho
zoo
1010100
gooogl
ayyeeee
dbcadbcdbd
zzaazaz0

Sample output:

bbbbbaaaacc
ccccccccbbbbbaaaa
aaabbc
oooohhh;;
ooz
0000111
oooggl
eeeeyya
ddddbbbcca
zzzzaaa0

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock430.03892013/09/10 02:17:230B / 21B / 20B
2leonid430.03502013/09/10 03:40:400B / 21B / 20B
3eban430.04152013/09/10 15:06:390B / 22B / 19B
4Histocrat430.04292013/09/16 10:09:510B / 21B / 20B
5Histocrat (alt)430.03632013/09/27 07:07:060B / 21B / 20B
6mitchs430.05212015/11/05 11:58:320B / 21B / 20B
7jpl460.03592013/09/10 00:29:140B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1teebee410.04692013/09/10 00:51:450B / 22B / 18B
2tails410.05162013/09/16 18:16:410B / 22B / 18B
3brx410.04042013/09/28 06:30:220B / 22B / 18B
4llhuii410.03822015/11/07 22:19:190B / 22B / 18B
5Hem530.03942013/09/13 16:08:100B / 26B / 23B

Python _

RankUserSizeTimeDateStatistics
1leonid580.09672013/09/10 02:16:290B / 38B / 19B
2hallvabo580.09742013/09/10 02:31:200B / 39B / 18B
3xsot580.10382013/09/13 10:01:330B / 38B / 19B
4clock580.09122013/09/17 00:18:030B / 38B / 19B
5rolf580.16282014/01/16 06:33:400B / 39B / 18B
6twobit580.15102014/03/02 00:08:190B / 38B / 19B
7llhuii580.11462014/12/06 14:49:520B / 38B / 19B
8xnor580.10732015/06/21 18:45:110B / ?B / ?B
9mitchs580.11872015/11/05 12:12:040B / 39B / 18B
10dan2190.12362013/10/09 06:18:030B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii590.21932014/12/06 14:51:280B / 38B / 20B
2mitchs590.14902015/11/05 12:19:230B / 38B / 20B
3xsot590.20092016/01/31 13:49:410B / 38B / 20B
4hallvabo600.15152014/01/29 07:06:400B / 37B / 22B
5twobit600.28632014/03/02 00:10:450B / 39B / 20B
6adkusm970.16692015/01/15 20:09:090B / ?B / ?B
7Trimsty990.14672014/01/29 04:35:260B / 62B / 29B

Common LISP _

RankUserSizeTimeDateStatistics
1ttmh810.06722014/08/08 06:09:390B / 53B / 25B

JavaScript _

RankUserSizeTimeDateStatistics
1Shmiddty890.04522014/01/16 07:37:300B / 53B / 33B
2_nderscore1000.04782013/09/10 06:49:380B / 64B / 36B

Smalltalk _

RankUserSizeTimeDateStatistics
1teebee820.04582014/06/18 07:14:170B / 55B / 20B

J _

RankUserSizeTimeDateStatistics
1I., S.280.07422013/09/11 22:42:440B / 10B / 18B

K _

RankUserSizeTimeDateStatistics
1teebee190.02882013/09/10 09:00:230B / 5B / 14B
2clock190.02622013/09/18 02:13:390B / 5B / 14B
3twobit190.02652014/03/02 00:27:330B / 5B / 14B

C _

RankUserSizeTimeDateStatistics
1llhuii1090.03262014/12/06 14:39:320B / 54B / 55B
2twobit1350.03172014/03/02 02:21:500B / 72B / 61B
3smkt1880.03202013/09/13 06:17:180B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1cojna700.04032014/03/21 04:01:000B / 40B / 29B
2henkma700.04122014/03/21 06:25:270B / 40B / 29B
3int-e700.03832014/12/07 07:02:240B / 40B / 29B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii1090.03242015/11/07 22:22:150B / 54B / 55B

AWK _

RankUserSizeTimeDateStatistics
1teebee600.03252014/08/01 01:08:310B / 26B / 34B
2llhuii620.03372014/12/07 14:32:440B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails850.03882013/09/16 23:53:080B / 14B / 66B

jq _

RankUserSizeTimeDateStatistics
1clock550.03452015/02/10 00:44:480B / 30B / 23B
2teebee580.03272014/12/05 16:54:230B / 36B / 21B
3eban620.03272014/12/05 18:38:230B / 36B / 25B

xgawk _

RankUserSizeTimeDateStatistics
1teebee600.03432014/08/01 01:10:470B / 26B / 34B
2llhuii620.04792014/12/07 14:36:390B / 25B / 37B
3llhui680.03782014/12/06 11:37:060B / 30B / 38B

GolfScript _

RankUserSizeTimeDateStatistics
1clock170.07132013/09/16 23:58:230B / 3B / 14B
2tails170.07432013/09/17 01:08:590B / 2B / 15B
3twobit170.07362014/03/02 01:56:460B / 3B / 14B
4nooodl200.09672013/09/10 03:53:170B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs80.29092015/04/23 08:46:003B / 3B / 2B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman80.10982013/09/09 18:25:230B / 4B / 4B
2nooodl80.04222013/09/10 04:00:300B / ?B / ?B
3teebee80.03762013/09/10 05:57:480B / 4B / 4B
4clock80.03432013/09/10 16:24:170B / 4B / 4B
5Hendrik80.06432013/09/14 05:51:540B / 4B / 4B

Language Ranking_

RankLangUserSizeScore
1Burlesquemroman810000
2gs2mitchs810000
3GolfScriptclock174705
4Kteebee194210
5JI., S.282857
6Perlteebee411951
7Rubyclock431860
8jqclock551454
9Pythonleonid581379
10Python3llhuii591355
11AWKteebee601333
12xgawkteebee601333
13Haskellcojna701142
14Common LISPttmh81987
15Smalltalkteebee82975
16sedtails85941
17JavaScriptShmiddty89898
18Cllhuii109733
19ObjCllhuii109733

return top