added sql to document model to retreive comments by order
testing sql results