The data set you pasted in your comment below contained several invisible non-ASCII characters.
They are revealed using ToCharacterCode
dataString = "{0.109892,0.153395,0.263218,0.0976219,0.26596,0.230077,0.235412,0.201642,0.0702126,0.134909,0.155424,0.263319,0.224367,0.253994,0.117316,0.0733121,0.190985,0.305341,0.139088,0.190262,0.00999462,0.20669,-0.00893785,0.087579,0.175154,0.0882176,0.193825,0.236279,-0.0883605,0.229773,0.292539,0.0971533,0.0613749,0.298706,0.121186,0.148439,0.000799421,0.284733,0.335953,-0.0610469,0.14451,0.0784617,0.136533,0.37428,0.181673,0.262039,-0.217684,-0.13403,0.0359772,0.179099}"
ToCharacterCode[dataString]
(* {123, 48, 46, 49, 48, 57, 56, 57, 50, 44, 48, 46, 49, 53, etc. 49, 8204, \
8203, 50, 54, 44, etc. 48, 53, 8204, 8203, etc. 44, 8204, 8203, 48, \
etc., 49, 8204, 8203, 49, 56, etc. 57, 125} *)
Convert to real ASCII:
data = DeleteCases[ToCharacterCode[dataString], _?(# > 127 &)] //FromCharacterCode // ToExpression
(* {0.109892, 0.153395, 0.263218, 0.0976219, 0.26596, 0.230077, \
0.235412, 0.201642, 0.0702126, 0.134909, 0.155424, 0.263319, \
0.224367, 0.253994, 0.117316, 0.0733121, 0.190985, 0.305341, \
0.139088, 0.190262, 0.00999462, 0.20669, -0.00893785, 0.087579, \
0.175154, 0.0882176, 0.193825, 0.236279, -0.0883605, 0.229773, \
0.292539, 0.0971533, 0.0613749, 0.298706, 0.121186, 0.148439, \
0.000799421, 0.284733, 0.335953, -0.0610469, 0.14451, 0.0784617, \
0.136533, 0.37428, 0.181673, 0.262039, -0.217684, -0.13403, \
0.0359772, 0.179099} *)
Ranking can be done using Ordering
:
Ordering@Ordering@-data
(* {34, 26, 9, 35, 7, 14, 13, 18, 41, 31, 25, 8, 16, 11, 33, \
40, 20, 3, 29, 21, 44, 17, 46, 38, 24, 37, 19, 12, 48, 15, 5, 36, 42, \
4, 32, 27, 45, 6, 2, 47, 28, 39, 30, 1, 22, 10, 50, 49, 43, 23} *)
To show that this works, let's sort the paired data and ranking:
Transpose[{data, Ordering@Ordering@-data}] // Sort // Reverse
(* {{0.37428, 1}, {0.335953, 2}, {0.305341, 3}, {0.298706,
4}, {0.292539, 5}, {0.284733, 6}, {0.26596, 7}, {0.263319,
8}, {0.263218, 9}, {0.262039, 10}, {0.253994, 11}, {0.236279,
12}, {0.235412, 13}, {0.230077, 14}, {0.229773, 15}, {0.224367,
16}, {0.20669, 17}, {0.201642, 18}, {0.193825, 19}, {0.190985,
20}, {0.190262, 21}, {0.181673, 22}, {0.179099, 23}, {0.175154,
24}, {0.155424, 25}, {0.153395, 26}, {0.148439, 27}, {0.14451,
28}, {0.139088, 29}, {0.136533, 30}, {0.134909, 31}, {0.121186,
32}, {0.117316, 33}, {0.109892, 34}, {0.0976219, 35}, {0.0971533,
36}, {0.0882176, 37}, {0.087579, 38}, {0.0784617, 39}, {0.0733121,
40}, {0.0702126, 41}, {0.0613749, 42}, {0.0359772, 43}, {0.00999462,
44}, {0.000799421, 45}, {-0.00893785, 46}, {-0.0610469,
47}, {-0.0883605, 48}, {-0.13403, 49}, {-0.217684, 50}} *)
{names, values, Ordering[values]} // Transpose
work to get what you need? $\endgroup$Ordering[-values]
, given that the OP wants a descending sort $\endgroup$Ordering
for larger datasets? $\endgroup$