added sorting to issues