add mid-sort
complete maze escape