Fix orderBy not parsing function on queryable