This fixes Bug 183625
In the commit dialog files whern't sorted. They are showed using VcsFileCHangesModel. I overloaded operator < of VcsStatusInfoItem to sort them. The sorting rules are:
- versioned files before uneversioned
- alphabetically (by path)
Details:
Added possibility to access the state of file in VcsFileChangesModel (not used in the end)
Introduced enum ColumnsRoles in VcsFileChangesModel: { PathColumn = 0, StatusColumn = 1 } (not used in the end)
Overloaded operator < of VcsStatusInfoItem to compare according to the rules
Used QSortFilterProxyModel in patchreviewtoolview to sort the list of changed files