I stay trying to sort some words alphabetically on Google Sheet, but I'm able only to column A. I want to try instead on rows.
Now that's a handy solution. Thanks for sharing!Transpose data from rows to columns (or vice versa) in Excel for Mac https://support.office.com/en-us/ar...-for-mac-9c16dd55-ed1a-4aa2-8b74-b1b9211e2ede
LibreOffice Help - Rotating Tables (Transposing) https://help.libreoffice.org/6.4/en-US/text/scalc/guide/table_rotate.html
I'm not sure I understand, are you trying to sort the contents inside a cell? I don't think that's possible.I've Only column A and need sort rows. Why I should split them on more column for after putting them again on A?
Take a look at https://support.google.com/docs/answer/6325535 and https://gsuite.google.com/marketplace/app/column_tools/499530297972Exactly. On Google Sheet, we have a random range. This means that we could sort as I want, but I not have found it as do it.
I am sorry, I do not use Google Sheets and I don't know how to help you with it.@bogdanw invalid row entered.
on simple_sort(my_list)
set the index_list to {}
set the sorted_list to {}
repeat (the number of items in my_list) times
set the low_item to ""
repeat with i from 1 to (number of items in my_list)
if i is not in the index_list then
set this_item to item i of my_list as text
if the low_item is "" then
set the low_item to this_item
set the low_item_index to i
else if this_item comes before the low_item then
set the low_item to this_item
set the low_item_index to i
end if
end if
end repeat
set the end of sorted_list to the low_item
set the end of the index_list to the low_item_index
end repeat
return the sorted_list
end simple_sort
on splitText(theText, theDelimiter)
set AppleScript's text item delimiters to theDelimiter
set theTextItems to every text item of theText
set AppleScript's text item delimiters to " "
return theTextItems
end splitText
set theText to the clipboard
set the textToSort to splitText(theText, space)
set the clipboard to simple_sort(the textToSort) as text