Sorting is any process of arranging items according to a certain sequence or into different sets.

learn more… | top users | synonyms (1)

39
votes
12answers
47k views

Unix/Linux find and sort by date modified

How can I do a simple find which would order the results by most recently modified? Here is the current find I am using (I am doing a shell escape in PHP, so that is the reasoning for the variables): ...
3
votes
0answers
201 views

Is there a way to keep the selection in Windows 2008 Explorer when changing the sort order

I nice feature of Windows Explorer up to Windows Server 2003 at least (I don't have easy access to Vista or Windows 7 to know when this was lost) was that you could select multiple files (or folders) ...
1
vote
1answer
1k views

How do I arrange my desktop icons in rigidly alphabetical order?

Currently, my desktop icons are divided into three groups: Upper left icons in the following order: Libraries Computer Recycle Bin Network Magic Continuing to read downwards and to the right: ...
1
vote
2answers
466 views

Sort multiple files with bash

I have a question that involves the bash scripting language. I have multiple directories /studentName /studentMail /studentNumber In each of these directories is a file name.txt, mail.txt, ...
6
votes
1answer
4k views

How can I disable Windows Vista / 7 Explorer's “auto sort” after file copying?

One of the things that really annoys me in Windows Vista / Windows 7 is the new "auto sort" feature. In Windows XP, whenever you copy a bunch of files to a folder, they are all placed at the end of ...
4
votes
1answer
1k views

Get Windows 7 to Stop Grouping Search Results by Immediate Parent Folder

Searching in Windows 7 is frustrating, inconsistent, and too different from in XP. One of the most egregious problems is that it insists on grouping search results by the immediate parent of items. ...
0
votes
2answers
428 views

Pull up Excel's Sort Dialog

I have to sort a protected sheet and need to perform the unprotect-sort-protect dance. The problem is this way I'm duplicating (less than perfectly) Excel's own sorting functionality, with the ...
1
vote
1answer
396 views

order for loop output command prompt

I'm using the following command to list some of my favorite videos in a directory (and redirect the output into a text file): for %i in (*avi *.mkv *mp4) do @echo %~ni I'd like to alphabetically ...
1
vote
1answer
247 views

How do I re-sort a list of files grouped by directory?

From within a DOS batch file, how can I crudely re-sort a text file containing a manually maintained list of source files, so those files listed (from the same directory) in the small example extract ...
0
votes
1answer
929 views

GNU sort and git blame

Today I thought I was doing a simple operation: git blame file | sort -k 3 To get all the lines of file sorted by the date on which they were last changed. Unfortunately it doesn't seem to be ...
4
votes
3answers
2k views

Firefox does not sort bookmarks automatically

Whenever I add a site to my bookmarks, Firefox puts it at the end of the list. In order to sort my bookmarks by name, I have to right click on the relevant folder and select "Sort by Name". Is there ...
1
vote
1answer
4k views

How do I count the times each number appears in columns of numbers?

I am sure this must be easy, but I am inexperienced. About the best way to think of my problem is to think of it as trying to sort and then count lottery numbers. To stay simple, let's do a Pick 3 ...
1
vote
1answer
481 views

How Windows arranges files by date

In Windows 7 if I have files arranged by date on the desktop with newest being last, then files are automatically places at the end (i.e. right bottom) as I update them. The exception seems to be ...
2
votes
2answers
686 views

Sorting a REALLY BIG delimited text file in UNIX / VMS

I am going to sort a REALLY BIG delimited text file, say 250Mb (or a bunch of files of more or less than 250Mb) . It have 37 fields, and I need to sort it by 5 fields, for example 1st, 4th, 5th, 6th ...
0
votes
1answer
699 views

Win7: sort icons in “desktop” popup/toolbar

I've right clicked my task bar and selected Desktop in the Toolbars submenu. This now shows a Desktop >> button left to the tray area. When I click this button, a popup with my desktop icons opens ...
4
votes
2answers
1k views

unix sort algorithm implementation

What sorting algorithm(s) is/are used in the unix sort command? Insertion/quicksort/etc.?
2
votes
1answer
723 views

Two Spreadsheets, Merge Data?

I was wondering what is the best way to merge two spreadsheets which have the name id's e.g: One sheet has: apple 5 dog 3 cat 2 Second sheet: dog 4 apple 7 cat 3 I would ...
3
votes
4answers
2k views

How to sort Spotlight results by size in the Finder?

How do I sort search result by size in Finder? I would prefer some sort of setting, or shell plug-in. I'm using this to clean my hard drive by finding and deleting the largest files first. I'm not ...
0
votes
1answer
454 views

Can I sort files A-Z and at the same time Z-A?

Question I am trying to sort and rename a large number of files that are labeled #####_## The LEFT side of the underscore are numbers (e.g., 32956715, 32956810, etc.) that do not repeat. The RIGHT ...
7
votes
2answers
452 views

In utf-8 collation, why 11- is less then 1-?

I found that the sort result in ASCII: Source file test: 1- 11- 1-a 11-a Sort using ASCII: $ LANG=en_US.ascii sort test 1- 1-a 11- 11-a And using UTF-8: $ LANG=en_US.utf8 sort test 1- 11- ...
6
votes
3answers
2k views

Why does 'sort' ignore special characters, like the asterisk?

I thought that sort would sort common prefixes together but that doesn't always happen. Take this input for example: AT0S*eightieths AT0S*eyetooth's AT*ad AT*Ad AT*AD AT*Eydie AT*eyed ATF*adv ATF*ATV ...
0
votes
1answer
713 views

is there a way to sort and rename open windows in Windows XP taskbar?

I want to rename and if possible sort my open Windows in the task bar. The reason is that some programs I use (pgAdmin, Windows Explorer, Google Chrome) put names on the Windows from which I cannot ...
1
vote
1answer
432 views

Sort text file of blocks

There are plenty of tools that will sort a text file on the assumption that the unit of interest is the line, but are there any that work on blocks? Example: name = Mercury order = 1 mass = 0.06 ...
1
vote
1answer
1k views

specify the sort order in “copy /b *.dat foo” in Windows cmd

Normally, when I do a copy /b *.data foo in Windows cmd, the *.data files are catenated in the sorted order into the destination file foo. This matches my desired behavior. However, I just met a ...
0
votes
1answer
2k views

Excel / VBscript: Need to sort columns with a header

I have a vbsctipt that opens an Excel(2007) document copies the used range from two sheets (minus the header on sheet 2) puts it all on 3rd sheet. I then need to sort that data using the header. I ...
0
votes
1answer
1k views

Autosort microsoft excel worksheet

Can I configure (possibly with scripts) Excel to automatically resort a table every time an entry is updated?
0
votes
3answers
1k views

Sorting is not consistent using the Unix command 'sort'

I'm running the command: zcat [File] | sed "1d" | sort -t $'\xE7' -k [field to be sorted] > [file].sorted When I run this on File A, sorting on field 1, I get the following result: 11622400 , ...
3
votes
2answers
4k views

How to sort ls by column in Ubuntu via piping to sort?

I'm a Linux newbie trying to learn how piping works in the Ubuntu terminal. I tried to sort by file size: ls -al | sort -k5 The files were listed in this order: drwx------ 19 min10 domain users ...
1
vote
2answers
186 views

How to Find Most Common or Frequent Files In Directory?

I have a directory with lots of images(100,000+). Many of these are duplicates/identical images but obviously all have different filenames. I need to find the images that have the most duplicates in ...
0
votes
1answer
461 views

Windows 7: View column headers in Windows Explorer when in icon view

In windows 7 is there a way to view the column headers in Windows Explorer when you are in icon view? When in details view you get a list of column headers that makes it easy to filter or sort by ...
4
votes
3answers
1k views

Windows explorer: sort by date modified

Is it possible to properly view the contents of a folder sorted by modification date in Windows explorer (Windows 7)? I can sort by the date modified column, but folders and files are seperated. I ...
1
vote
0answers
573 views

Path Finder: How to sort files by date, but folders by name?

This is possible in Total Commander. How can I make such separate sorting in Path Finder as well? I like to sort files by date, but I don't see any point in sorting folders this way - they just jump ...
6
votes
6answers
8k views

Outlook 2010 Unable to Categorize Messages

I am unable to categorize messages in my inbox. What I'm talking about is the ability to assign a color category. I'm accustomed to being able to just click the icon in the ribbon of the open message ...
6
votes
4answers
26k views

Automatically sort music files into folders by album/artist names

I have a large collection of music files (let's say MP3), with metadata (ID3 tags), but all are located in the same folder. I wish to automatically organize all of them according to this metadata. Is ...
4
votes
2answers
4k views

Sort order “Other Calendars” in Outlook

If I open a Shared Calendar in Outlook, it will be added in the "Other Calendars" section. Unfortunately Outlook doesn't sort them by Name. Is there a way/hack to sort them alphabetically?
0
votes
4answers
276 views

Is there a way to do Drag and Drap sorting of emails in Outlook?

I'd like to be able to manually sort emails in a particular Outlook folder instead of having it auto-sort by some particular column. Basically, for emails that I need to do some sort of follow up, I ...
8
votes
3answers
9k views

fatsort for Windows 7 [closed]

I've used a program in Linux called fatsort to reorder the directories on my USB flash drive so that my car stereo navigates folders in alphabetical order instead of random order. Is there any ...
1
vote
3answers
673 views

Why does my exchange message filtering rule not work?

I have two rules set up to sort incoming bug reports. The first is specific to a single device: Apply this rule after the message arrives sent to SMS Distribution and with ...
0
votes
1answer
36 views

Is there a blog tool with support for tagging posts, only displaying posts with certain combinations of tags, and LaTeX? [closed]

What I want: A blog. I can tag posts, e.g. "A" or "B" or "all," and then you can either 1) click to only view posts tagged "A" or "all" or 2) even more ideally, I can set it so you automatically see ...
1
vote
6answers
694 views

Best way to manually sort random text files?

I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can ...
2
votes
4answers
6k views

Merging and sorting multiple files with “sort”

I have a bunch of text logfiles in the following format: ID (17 characters) Timestamp (14 characters YYYYmmddHHMMSS e.g. "20060210100040" -> 2006/02/10 10:00:40) Random data (? ...
7
votes
6answers
954 views

Joining text files with 600M+ lines

I have two files, huge.txt and small.txt. huge.txt has around 600M rows and it's 14 GB. Each line has four space separated words (tokens) and finally another space separated column with a number. ...
1
vote
2answers
66 views

When your field-terminating char appears within field values

I've had a very colorful morning learning the innerparts of Linux's sort command, and have come across yet another issue that I can't seem to find an answer for in the documentation. I'm currently ...
1
vote
1answer
185 views

SORT empties my file?

I'm attempting to sort a csv on my machine, but I seem to be erasing the contents each time I use the sort command. I've basically created a copy of my csv lacking the first row: sed '1d' ...
6
votes
1answer
613 views

Mail.app - What sets sort order when adding To addresses by typing Group name?

Using Mail.app in Mac OS X (10.6.3) I'm seeing apparently random sort order when sending a email to a group. Not a major issue but you'd think it be alphabetical?!? To reproduce: Compose New ...
2
votes
1answer
632 views

Other language Sorting(like hindi, not english) for Excel sheet column

How can I sort excel sheet column for other languages like hindi(not english)?
1
vote
2answers
3k views

Windows “save” dialog listing files in reverse alphabetical order by default

Imagine this: no matter which software, when I hit "SAVE", the file explorer dialog that appears is listing my files in reverse-alpha order. This happens by default on all folders and is just an ...
1
vote
0answers
294 views

Sorting in Pivot Table on how data is summarized, not just the value

Often I am creating pivot tables that summarize some count by some category. Let's say I am counting Yes/No responses by some category. I usually add the count field and display it as a "% of row", ...
0
votes
1answer
1k views

How do I salvage files from the lost+found folder?

Well, I screwed up my external hard drive and now everything is in the lost+found folder. I can barely look through it because there is several tens of thousands of files (buncha inode things) and a ...
2
votes
4answers
972 views

Sorting emails with no To: tags in Outlook

Lately people at work have been sending with mailing lists in blind copies instead of just sending to the mailing lists. I think the intent is to prevent people from accidentally replying to all, but ...