ECMS-6234 PropertyValueComparator class is dupplicated in core service and in webui

Fix description: update compare(Node node0, Node node1) method
ECMS-6231 Wrong Comparison method in PropertyValueComparator

Fix description: use new method compareLong to compare as a number, instead of a string, when property type is kind of Long or Double.