Cleanup: lorder
Added tests for lorder of ldat