Implement sorting of the device tree items

Authored by isaact on Jun 27 2018, 8:21 PM.

Description

Implement sorting of the device tree items

This patch fixes the issue of processor numbers not being sorted in human-readable order.

It overloads the < operator on the SolDevice class to implement sorting by process number and sorting by storage volume names (as they
should go, e.g.: sda, sda1, sda2...).

BUG: 380355

Reviewed by: cfeck, davidedmundson

Differential Revision: https://phabricator.kde.org/D7155

Details

Committed
cfeckJun 27 2018, 8:21 PM
Reviewer
cfeck
Differential Revision
D7155: Implement sorting of the device tree items
Parents
R102:ed7850bad1b3: Do not duplicate work of KAboutData::setupCommandLine()
Branches
Unknown
Tags
Unknown