Apache OpenOffice (AOO) Bugzilla – Issue 17998
incorrect sorting of database rows
Last modified: 2003-09-08 16:55:29 UTC
If you choose just one cell in a column and then ask for a sort, two bad things happen: 1) it sorts on the first column, not the selected column, and 2) all rows are included, including the header row. If the user selects all the data cells (rows and columns) to sort, only the one column is sorted, not the entire set of rows.
The following problem (in OOo 1.1 Beta2) may have something to do with the sorting issue I described above: per an online course teaching Excel, I'm trying to sort a mix of 5 digit (nnnnn) and 9 digit (nnnnn-nnnn) US postal ("zip") codes. Not surprisingly, a request to sort, sorts the 5 digit codes first as numbers and then the 9 digit codes as text. OK, so define a second column with each cell is =LEFT(Ax:5) and try sorting that -- result, the same sort as with only the first column (5 digit then 9 digit, numeric then text). What might be happening is that as described before, sorting is always done on the first column (if just click on second column).
Hi, the sort functionality works as expected. Try to use the 'sort colum' dropdown box in the dialog and make you familiar with the Options tab page in the Sort dialog. Also make sure your using the correct addressing (absolute / relative) in the formulas you are using. Frank
closed worksforme using OOo1.1RC2