add sortedmedian to main Makefile