Fixed column names and sorting for cross query