Create msort.m