Added support for relation hybrid property sorting for sort_query