How can you sort the rows in the specified order. That is, I specify the order in which the lines should go - Brend then Nomer_tovara then Year then Garantiya
For example (input file):
Nomer_tovara: 557436 Brend: VMS Garantiya: 2343454 Year : 2019 Nomer_tovara: 557436 Brend: ORP Garantiya: 78788777 Year : 2019 Output file:
Brend: VMS Nomer_tovara: 557436 Year : 2019 Garantiya: 2343454 Brend: ORP Nomer_tovara: 557436 Year : 2019 Garantiya: 78788777