testing logic on milestone sorting