[nemo-qml-plugin-email] Add EmailMessageListModel::sortByTime helper function to reduce duplicated code.