patch to MEI code to order the values after retrieving them s0 the lag
code works