REFACTOR: new mprSort
TEST: unit test for mprSort

Update license
CLEANUP