Adding sort to directory glob results for portfolio listings page