Computers & Internet Logo

Related Topics:

Posted on Jan 26, 2009

I have a problem in sorting

Please send me codes for sorting alphabets in ascending and descending order

×

1 Answer

Anonymous

Level 1:

An expert who has achieved level 1.

  • Contributor 2 Answers
  • Posted on Jan 28, 2009
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Joined: Jan 28, 2009
Answers
2
Questions
0
Helped
175
Points
4

If your using windows:
Open cmd.exe (program files>accessories>command prompt)
use the sort command in this syntax:

sort "path name and or file name"

you may also use file exports like this for example:

sort birthdays.txt > sorted birthdays.txt (single forward will write over old files and make new ones)
sort birthdays.txt >> sorted birthdays.txt (use double forwards to made amendments to the file)

the "/R" function will reverse the sort order, for example:

sort /R birthdays.txt


thats all, hope this helps. I cant do much else with the information given.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How do I alphabetize a list in LibreOffice 6.3 Writer?

these videos may or may not help but I gave it a shot. good luck.

https://ask.libreoffice.org/en/question/93417/arrange-lines-of-text-in-alphabetical-order-writer


Simply select the paragraphs you want to sort and click on Tools ' Sort The default settings will possibly be all you need to sort alphabetically ascending.
0helpful
1answer

How to calculate median

Sort the data into ascending or descending order. If there's an odd number of data points then the median is the one in the middle. If there's an even number of data points then the median is the average of the two in the middle. Add the two together then divide by 2.
1helpful
1answer

When I save a word document file to "Documents" they are no longer being saved in alphabetic order? Whats gone wrong and how do I fix it?

When you open that folder ( or any other), you have the option to sort by file name, file type, date, etc... Click on name at the top, and it will switch to sorting that way. Click it again to change from ascending to descending and vice versa.
0helpful
1answer

I'm following all of the steps to sorting a list - but when I go back to look at it, it did not sort. Please help!

Enter the data in any order in your list. Press [2nd][Quit] to exit the data editor.
In Main screen, press STAT, select SortA( for ascending or SortD( for descending order.
The command echoes on main screen as SortA(. Press [2nd][1] for L1 or 2nd 2 for L2. Close parenthesis and press ENTER. The L1 list or the L2 list will be sorted.
If the list are linked you must sort them together. In that case the syntax is SortA( L1,L2) ENTER.The list will be sorted according to the order in L1.
13helpful
1answer

How to sort the number data in order in L1 for ex L1 -> L1 3 2 2 3 7 4 4 5 5 7 like that thanks

There are two functions available for sorting lists. Access them via [2nd] [List] "OPS".

SortA(list) sorts the list into ascending order.
SortD(list) sorts the list into descending order.
0helpful
1answer

Doesn't remember there's a Header Row

You can try to select all data (except for the entire row which contain your header) and try to sort thru columns. This can sorted in ascending or descending order.
1helpful
1answer

Autofilter ceases to work on large Excel 2003 spreadsheet

Sounds like there is a gap between the filter heading and the column data. That's the only time I've seen suggested data missing from the drop-down.
0helpful
1answer

What are the source codes for making records in C++?

i need drivers for Sonny VGN-NS150D : WIN XP PROFFENAL SP2
0helpful
1answer

Name sorting using c++

Since you haven't replied for a week, I assume you didn't want my help and so I expect that you don't rate this solution. If you still want help, I will provide it, but I won't write what could potentially be a homework assignment. I can give you guidance if you get stuck. good luck
0helpful
1answer

Sort incoming time for received e-mails

Depending on what client you are using, clicking on the "triangle" in the date column toggles between sorting ascending and descending.

MM85
Not finding what you are looking for?

127 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...