fix for [WG-4] inconsistent sort when initialized