Shortcut for sorting words and numbers list

Discussion, questions and support.
Post Reply
gbop515
Posts: 3
Joined: Oct 29th, ’19, 04:08

Post by gbop515 » Oct 29th, ’19, 04:26

Hi...

I'd like to add shortcut - to sort list which contains words and numbers.

For example - list contains random alphanumeric order below:

nimble
quick
9 velocious
accelerated
12. hasty
rapid
swift
active

Into alphanumeric ascending order output:

12. hasty
9 velocious
accelerated
active
nimble
quick
rapid
swift

Into alphanumeric descending order output:

swift
rapid
quick
nimble
active
accelerated
9 velocious
12. hasty

Is it possible to achieve sorting with FastKeys?

Thank you so much!
gbop515
Posts: 3
Joined: Oct 29th, ’19, 04:08

Post by gbop515 » Oct 29th, ’19, 04:40

There is built-in shortuct - Change Caps Text Utility: Ctrl + Capslock. I love it so much.

It'd be nice if I can add "Sort List" feature in there.
User avatar
Marko
Posts: 1728
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Oct 29th, ’19, 08:09

The following command sorts the selected lines of text (Type: Command).

Code: Select all

send, ^c
sleep 100
sort, clipboard
send, ^v
To sort in reverse order use:

Code: Select all

sort, clipboard, R
More info: https://www.autohotkey.com/docs/commands/Sort.htm
Post Reply