Home How can I give rank numbers to the sorted output?
Reply: 0

How can I give rank numbers to the sorted output?

user282
1#
user282 Published in June 19, 2018, 11:56 pm

For example, if the input is:

Dog 100
Cat 200
Monkey 50
Elephant 20

I want the output to be:

1 Cat 200
2 Dog 100
3 Monkey 50
4 Elephant 20

I want to use the sort function to achieve this. Thanks!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.3161 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO