PO's lines order(Generated with PO suggestions)

We use po suggestions to generate PO’s and we get very inconsistent order of PO lines. It used to get created in order of JOb, then by Assembly, then by material. But now it is inconsistent.

We did create a custom search recently so that our buyers can only see a list of certain Po suggestions. But The Base search is still there to be used if needed.

Has anybody faced a similar issue before, or have any clue about what can cause this type of behavior?