added sort definition to mk.scm