sorting capabilities for entity