:internal: add a test for egcas item position sorting