SortIndex optimizer:
 - group the ASC/DESC
 - find out the real attribute name for nested attributes