Added include to remove error: 'sort' is not a member of 'std'

* fixes #4030