BPS Custom Sorting Programs

ENOVIA Business Process Services provides two sample JPOs for custom sorting. You can use them in Engineering Central to sort Find Numbers on EBOM relationships, or as a guideline to write your own sorting program.

JPO Name Description

emxSortNumericAlphaLarger

This JPO comparator can be used to sort find numbers. The compare method works this way:


  • If both objects are numbers, does a numeric compare.
  • If both objects are alphanumeric, does a string compare.
  • If one object is a number and the other is alphanumeric, then Alphanumeric > Number.

The program first considers pure alphabetics as well as alphanumeric strings as alpha for sorting, then looks for pure numerics and sorts them.

emxSortNumericAlphaSmaller

This JPO comparator can be used to sort find numbers. The compare method works this way:


  • If both objects are numbers, does a numeric compare.
  • If both objects are alphanumeric, does a string compare.
  • If one object is a number and other alphanumeric, then Number > Alphanumeric.