m/windows: Added windows_sort method