[rd debugger] fix breakpoints sorting, IJPL-201539

^IJPL-201539 fixed

GitOrigin-RevId: a72a0cc72648099435d0e9a4a5c690d556c5ecf8
This commit is contained in:
Vladimir Parfinenko
2025-08-11 17:21:15 +00:00
committed by intellij-monorepo-bot
parent 321b9c6624
commit 27c1a57b63
@@ -346,7 +346,7 @@ internal open class FrontendXBreakpointProxy(
}
// TODO: do we need to pass XBreakpointType.getBreakpointComparator somehow?
// it always uses timestamps, so it seems like we can keep comparing by timestamps.
return getTimestamp().compareTo(other.getTimestamp())
return other.getTimestamp() compareTo this.getTimestamp()
}
override fun equals(other: Any?): Boolean {