add sorting to refresh my space page