Fix urls for stock chart
sorting for stock chart data