Sort glob results.