fixed poplar sorting bug