Nav Module: Make sortItemsOrder sort pass-by-reference.

Fixes bug when using before|after sort.