Cleanup sorting methods phpDoc