diff --git a/src/apps/cortex/MediaRoutingView/MediaJack.cpp b/src/apps/cortex/MediaRoutingView/MediaJack.cpp index dda28d7df5..1beaefdec4 100644 --- a/src/apps/cortex/MediaRoutingView/MediaJack.cpp +++ b/src/apps/cortex/MediaRoutingView/MediaJack.cpp @@ -780,11 +780,11 @@ int __CORTEX_NAMESPACE__ compareTypeAndID( const MediaJack *rJack = *(reinterpret_cast(reinterpret_cast(rValue))); if (lJack && rJack) { - if (lJack->m_jackType < lJack->m_jackType) + if (lJack->m_jackType < rJack->m_jackType) { return -1; } - if (lJack->m_jackType == lJack->m_jackType) + if (lJack->m_jackType == rJack->m_jackType) { if (lJack->m_index < rJack->m_index) {