RFNXVfwQQPS4J

Sorting data

Source: licencja: CC 0.

Sortowanie danych

You will learn
Sorting
Definition: Sorting
RhKunm3TtyWJT1
nagranie abstraktu

One of the basic issues of computer science. It consists in ordering a set of data according to certain characteristics of every element of the set.

Task 1
RsSJcQFDkjrL41
nagranie abstraktu

Open the applet and sort the numbers from the smallest to the largest.

ReAn5ho1sDrd311
Aplet geogebra - sortowanie rosnące liczb całkowitych (od najmniejszej do największej). Poniżej znajduje się galeria będąca wersją alternatywną dla aplikacji.
Source: GroMar, licencja: CC BY 3.0.
Task 2
RaZvHWc1wVqO81
nagranie abstraktu

Give examples of ordering that you can see every day. What data can be sorted in Excel and how?

Task 3
RLJ3XQ1lyH7sY1
nagranie abstraktu

Enter any 5 numbers, dates and texts (words or sentences) into separate columns in the worksheet. Sort them using the ‘Sort’ tool. Learn how to change the orderorderorder of sortingsortingsorting: ascending/descending (A‑Z/Z‑A).

Task 4
RoKPGUeflxjGd1
nagranie abstraktu

Now enter any 5 numbers in one row in the worksheet. Sort them in an ascending and descending orderorderorder.

Task 5
Rd5wuffLi3r0x1
nagranie abstraktu

Check how texts including lowercase and uppercase letters are sorted - how the cells containing for example: ala, Ala, aLA, aLa, AlA will be sorted.

R1c5jrNoLRnOn1
nagranie abstraktu

Most often our data are large sets of information stored in many rows and columns of the spreadsheet. That is why we need to sort whole rows or columns. In such a case the key element of sortingsortingsorting is to select the worksheet area which will be sorted (see also: Table s – at the end of the document). Most often incorrect selection of the sortingsortingsorting area leads to data loss.

Task 6
RMbdgKxW4bKX31
nagranie abstraktu

Sort orderorderorder ascending (A‑Z):

  1. numbers – from the smallest to the largest,

  2. text – alphabetical from A to Z,

  3. dates – from the oldest to the newest.

Sort orderorderorder descending (Z‑A):

  1. numbers – from the largest to the smallest,

  2. text – alphabetical from Z to A,

  3. dates – from the newest to the oldest.

Task 7
RkWslsIDdLbnV1
nagranie abstraktu

SortingsortingSorting according to the partial valuepartial valuepartial value in the column.

If Excel cannot sort given data itself, we can select particular parts of the data by using other functions. These parts can be sorted separately.

Exercises

Exercise 1
R3aRIsNbJlcJw
Wersja alternatywna ćwiczenia: Select dates in an ascending order. Możliwe odpowiedzi: 1. 22 February, 2 April, 28 April, 7 March, 2 May, 29 May, 20 July, 2. 22 February, 7 March, 2 April, 28 April, 2 May, 29 May, 20 July, 3. 7 March, 22 February, 2 April, 28 April, 20 July, 2 May, 29 May, 4. 2 January, 22 March, 16 June, 24 June, 20 October, 22 September, 20 November, 5. 2 January, 22 March, 16 June, 24 June, 22 September, 20 October, 20 November, 6. 2 January, 22 March, 20 October, 16 June, 24 June, 22 September, 20 November
zadanie
Source: GroMar, licencja: CC BY 3.0.
Exercise 2
R1TosLjewllXu
Wersja alternatywna ćwiczenia: Select subjects in a descending order. Możliwe odpowiedzi: 1. physics, philosophy, chemistry, botany, biology, 2. philosophy, physics, chemistry, botany, biology, 3. physics, philosophy, chemistry, biology, botany, 4. mathematics, informatics, geometry, graphics, arithmetic, algebra, 5. mathematics, informatics, graphics, geometry, arithmetic, algebra, 6. mathematics, informatics, graphics, geometry, algebra, arithmetic
zadanie
Source: GroMar, licencja: CC BY 3.0.
Exercise 3

Describe a selected method of sorting in English.

Exercise 4
RJuwBQC5EmWxs
Wersja alternatywna ćwiczenia: Indicate which pairs of expressions or words are translated correctly. Możliwe odpowiedzi: 1. z uwzględnieniem wielkości znaków - case sensitive, 2. wiersz - column, 3. kolumna - row, 4. kolejność alfabetyczna - alphabetical order, 5. malejąco - in an ascending order, 6. rosnąco - in a descending order
zadanie
Source: GroMar, licencja: CC BY 3.0.
R1XnNKDSMn5J21
Interaktywna gra, polegająca na łączeniu wyrazów w pary w ciągu jednej minuty. Czas zaczyna upływać wraz z rozpoczęciem gry. Jeden ruch to odkrywanie najpierw jednej potem drugiej karty z wyrazem. Każdy wyraz jest odczytywany. Kolejny ruch to odkrywanie trzeciej i czwartej karty. W ten sposób odsłuchasz wszystkie wyrazy. Nawigacja z poziomu klawiatury za pomocą strzałek, odsłuchiwanie wyrazów enterem lub spacją. Znajdź wszystkie pary wyrazów.
Source: Zespół autorski Politechniki Łódzkiej, licencja: CC BY 3.0.

Glossary

alphabetical order
alphabetical order

kolejność alfabetyczna – opiera się na porządku liter w alfabecie

RqjEywkqI7LhS1
wymowa w języku angielskim: alphabetical order
case sensitive
case sensitive

z uwzględnieniem wielkości znaków

R1cEzRJCsWbAK1
wymowa w języku angielskim: case sensitive
column
column

kolumna

R1JLEd4I2rZ8R1
wymowa w języku angielskim: column
in a descending order
in a descending order

malejąco

Ru2vvPFEWuGKq1
wymowa w języku angielskim: in a descending order
in an ascending order
in an ascending order

rosnąco

R1OgmE6B3HjiT1
wymowa w języku angielskim: in an ascending order
order
order

kolejność

RNVHKpfyTvMIK1
wymowa w języku angielskim: order
partial value
partial value

wartość częściowa

RK3BFSI0Y6DxB1
wymowa w języku angielskim: partial value
row
row

wiersz

RdsPjosgMUeOR1
wymowa w języku angielskim: row
sorting
sorting

sortowanie - jeden z podstawowych problemów informatyki. Polega na uporządkowaniu zbioru danych względem pewnych cech charakterystycznych każdego elementu tego zbioru

RaPHMab5WGDM31
wymowa w języku angielskim: sorting
table
table

tabela

R66d9qbAlw5HF1
wymowa w języku angielskim: table

Keywords

alphabetical orderalphabetical orderalphabetical order

in a descending orderin a descending orderin a descending order

in an ascending orderin an ascending orderin an ascending order