LPS-39338 Optimize render weight comparator
LPS-39338 SF