PHOENIX-933 Local index support to Phoenix

bq. There's a bit more you need to do to handle ORDER BY correctly. It'd be for the case in which a data column was referenced in the ORDER BY while the index table is being used to satisfy the query.
This is working fine James. I have added test case.