Allow sortResults to work for 2D and 3D
Created by: masterleinad
This should fix the issue mentioned in https://github.com/arborx/ArborX/pull/189#discussion_r347570498.
Created by: masterleinad
This should fix the issue mentioned in https://github.com/arborx/ArborX/pull/189#discussion_r347570498.