I just want to sort this based on Month and year combination (that is, based on column A) ascending. How to do this in OpenOffice Calc? The sort option on month is not working because I guess the year is also appended.
Here are some data starting from A1:
Month Total
September 2011 27825
September 2010 35801
October 2011 108485
October 2010 22223
November 2011 139222
May 2012 39319
May 2011 38226
May 2010 9671
There are different solutions:
Solution 1
Format->Cells...->Numbers;Datefrom left list;Enter the following format code in the

Format Codefield:MMMM YYYYHit
OKEdit->Find & Replace...or hit CTRL+HIn field
Search for, enter a single dot, and in fieldReplace withan ampersand (&) ; hit More Options, tickRegular Expression. Select Replace all:Select cell A1, apply sorting using Menu
Data->Sortby column A (“month”).As result, OpenOffice / LibreOffice transforms the values of column A into dates (for example, 01/09/2011 instead of September 2011). The displayed cell content will stay “September 2011” because of the custom cell format using the code
MMMM YYYY. When sorting, OpenOffice / LibreOffice recognizes the dates and sorts by month/date.Solution 2
Insert->Columns;Data->Text to Columns...Spaceas delimiter, then hit OK;Yearas header in cell B1;Data->Sort; select first year, then month; don’t hit OK yet (otherwise the months would get sorted alphabetically), but selectOptions->Custom sort order; select the months sort order. Now, hit OK.